instance method find_nth!

Ruby on Rails 4.2.9

Since v4.2.9 Last seen in v4.2.9

Signature

find_nth!(index)

No documentation comment.

Parameters

index req
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

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