class method
self.find_initial
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18 PrivateAvailable in: v2.2.3 v2.3.18
Signature
self.find_initial(options)
No documentation comment.
Parameters
-
optionsreq
Source
# File activerecord/lib/active_record/base.rb, line 1537
def find_initial(options)
options.update(:limit => 1)
find_every(options).first
end
Defined in activerecord/lib/active_record/base.rb line 1537
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Base