1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

removes a wrong comment in the finders guide

This commit is contained in:
Xavier Noria 2009-03-21 16:00:33 +01:00
parent 9fdbc11615
commit 3aae3db170

View file

@ -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: <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> <ruby>
# Find the client with primary key (id) 10.
client = Client.last client = Client.last
=> #<Client id: 221, name: => "Russel"> => #<Client id: 221, name: => "Russel">
</ruby> </ruby>