class method
self.allow_deprecated_singular_associations_name=
Ruby on Rails 7.2.3
Since v7.2.3 Last seen in v7.2.3Signature
self.allow_deprecated_singular_associations_name=(value)
No documentation comment.
Parameters
-
valuereq
Source
# File activerecord/lib/active_record.rb, line 454
def self.allow_deprecated_singular_associations_name=(value)
ActiveRecord.deprecator.warn <<-WARNING.squish
`Rails.application.config.active_record.allow_deprecated_singular_associations_name`
is deprecated and will be removed in Rails 8.0.
WARNING
end
Defined in activerecord/lib/active_record.rb line 454
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord