instance method
find_nth!
Ruby on Rails 4.2.11.3
Since v4.2.11.3 Last seen in v5.0.7.2Available in: v4.2.11.3 v5.0.7.2
Signature
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