diff options
author | Xavier Noria <fxn@hashref.com> | 2009-03-21 16:00:33 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-03-21 16:00:33 +0100 |
commit | 3aae3db1701609d54c3e807f0b9f9559454d2d38 (patch) | |
tree | 1f839de4044207207b0ac35a60e6d9a7432b14db /railties/guides/source/active_record_querying.textile | |
parent | 9fdbc11615cc9cf9ce7506fc48c444d5ad677fff (diff) | |
download | rails-3aae3db1701609d54c3e807f0b9f9559454d2d38.tar.gz rails-3aae3db1701609d54c3e807f0b9f9559454d2d38.tar.bz2 rails-3aae3db1701609d54c3e807f0b9f9559454d2d38.zip |
removes a wrong comment in the finders guide
Diffstat (limited to 'railties/guides/source/active_record_querying.textile')
-rw-r--r-- | railties/guides/source/active_record_querying.textile | 1 |
1 files changed, 0 insertions, 1 deletions
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+ <tt>Model.last(options = nil)</tt> finds the last record matched by the supplied options. If no +options+ are supplied, the last matching record is returned. For example: <ruby> -# Find the client with primary key (id) 10. client = Client.last => #<Client id: 221, name: => "Russel"> </ruby> |