instance method
throw_setter_deprecation
Ruby on Rails 6.0.6
Since v6.0.6 Last seen in v6.0.6 PrivateSignature
throw_setter_deprecation(method)
No documentation comment.
Parameters
-
methodreq
Source
# File activerecord/lib/active_record/database_configurations.rb, line 225
def throw_setter_deprecation(method)
ActiveSupport::Deprecation.warn("Setting `ActiveRecord::Base.configurations` with `#{method}` is deprecated. Use `ActiveRecord::Base.configurations=` directly to set the configurations instead.")
end
Defined in activerecord/lib/active_record/database_configurations.rb line 225
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::DatabaseConfigurations