method

find_nth!

rails latest stable - Class: ActiveRecord::FinderMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

find_nth!(index)
protected

No documentation available.

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