class

ActiveRecord::NoDatabaseError::ConfigurationError

rails latest stable - Superclass: ActiveRecord::ActiveRecordError

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

Raised when association is being configured improperly or user tries to use offset and limit together with {ActiveRecord::Base.has_many}[rdoc-ref:Associations::ClassMethods#has_many] or {ActiveRecord::Base.has_and_belongs_to_many}[rdoc-ref:Associations::ClassMethods#has_and_belongs_to_many] associations.

Files

  • activerecord/lib/active_record/errors.rb