method

new_from_hash_copying_default

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveSupport::HashWithIndifferentAccess

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

new_from_hash_copying_default(hash) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 81
    def self.new_from_hash_copying_default(hash)
      ActiveSupport::Deprecation.warn(        `ActiveSupport::HashWithIndifferentAccess.new_from_hash_copying_default`        has been deprecated, and will be removed in Rails 5.1. The behavior of        this method is now identical to the behavior of `.new`..squish)
      new(hash)
    end
Register or log in to add new notes.