instance method
throw_getter_deprecation
Ruby on Rails 6.0.6
Since v6.0.6 Last seen in v6.0.6 PrivateSignature
throw_getter_deprecation(method)
No documentation comment.
Parameters
-
methodreq
Source
# File activerecord/lib/active_record/database_configurations.rb, line 229
def throw_getter_deprecation(method)
ActiveSupport::Deprecation.warn("`ActiveRecord::Base.configurations` no longer returns a hash. Methods that act on the hash like `#{method}` are deprecated and will be removed in Rails 6.1. Use the `configs_for` method to collect and iterate over the database configurations.")
end
Defined in activerecord/lib/active_record/database_configurations.rb line 229
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::DatabaseConfigurations