instance method throw_getter_deprecation

Ruby on Rails 6.0.6

Since v6.0.6 Last seen in v6.0.6 Private — implementation detail, not part of the public API

Signature

throw_getter_deprecation(method)

No documentation comment.

Parameters

method req
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

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close