instance method
index_errors_setting
Ruby on Rails 8.0.4
Since v7.2.3 PrivateSignature
index_errors_setting()
No documentation comment.
Source
# File activerecord/lib/active_record/associations/nested_error.rb, line 28
def index_errors_setting
@index_errors_setting ||=
association.options.fetch(:index_errors, ActiveRecord.index_nested_attribute_errors)
end
Defined in activerecord/lib/active_record/associations/nested_error.rb line 28
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Associations::NestedError