method

add_to_base

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveModel::DeprecatedErrorMethods
add_to_base(msg) public

No documentation

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

Hide source
# File activemodel/lib/active_model/deprecated_error_methods.rb, line 18
    def add_to_base(msg)
      ActiveSupport::Deprecation.warn "Errors#add_to_base(msg) has been deprecated, use Errors#[:base] << msg instead"
      self[:base] << msg
    end
Register or log in to add new notes.