instance method
find_last
Ruby on Rails 6.0.6
Since v3.0.20 PrivateSignature
find_last(limit)
No documentation comment.
Parameters
-
limitreq
Source
# File activerecord/lib/active_record/relation/finder_methods.rb, line 548
def find_last(limit)
limit ? records.last(limit) : records.last
end
Defined in activerecord/lib/active_record/relation/finder_methods.rb line 548
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::FinderMethods