From 3aae3db1701609d54c3e807f0b9f9559454d2d38 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 21 Mar 2009 16:00:33 +0100 Subject: [PATCH] removes a wrong comment in the finders guide --- railties/guides/source/active_record_querying.textile | 1 - 1 file changed, 1 deletion(-) diff --git a/railties/guides/source/active_record_querying.textile b/railties/guides/source/active_record_querying.textile index 442521cbf4..b112c4f5fb 100644 --- a/railties/guides/source/active_record_querying.textile +++ b/railties/guides/source/active_record_querying.textile @@ -111,7 +111,6 @@ h5. +last+ Model.last(options = nil) finds the last record matched by the supplied options. If no +options+ are supplied, the last matching record is returned. For example: -# Find the client with primary key (id) 10. client = Client.last => # "Russel">