instance method find_nth!

Ruby on Rails 5.0.7.2

Since v4.2.11.3 Last seen in v5.0.7.2

Available in: v4.2.11.3 v5.0.7.2

Signature

find_nth!(index)

No documentation comment.

Parameters

index req
Source
# File activerecord/lib/active_record/relation/finder_methods.rb, line 549
    def find_nth!(index)
      find_nth(index) or raise RecordNotFound.new("Couldn't find #{@klass.name} with [#{arel.where_sql(@klass.arel_engine)}]")
    end

Defined in activerecord/lib/active_record/relation/finder_methods.rb line 549 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::FinderMethods

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close