instance method throw_setter_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_setter_deprecation(method)

No documentation comment.

Parameters

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

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