instance method
find_nth!
Ruby on Rails 4.2.9
Since v4.2.9 Last seen in v4.2.9Signature
find_nth!(index)
No documentation comment.
Parameters
-
indexreq
Source
# File activerecord/lib/active_record/relation/finder_methods.rb, line 488
def find_nth!(index)
find_nth(index, offset_index) or raise RecordNotFound.new("Couldn't find #{@klass.name} with [#{arel.where_sql}]")
end
Defined in activerecord/lib/active_record/relation/finder_methods.rb line 488
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::FinderMethods