method
add_to_base
add_to_base(msg)
public
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