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:
parent
9fdbc11615
commit
3aae3db170
1 changed files with 0 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue