instance method throw_setter_deprecation

Ruby on Rails 6.0.6

Since v6.0.6 Last seen in v6.0.6 Private

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.

↑↓ navigate · open · esc close