method
on
on(attribute)
public
Hide source
# File activemodel/lib/active_model/deprecated_error_methods.rb, line 3 def on(attribute) ActiveSupport::Deprecation.warn "Errors#on have been deprecated, use Errors#[] instead" self[attribute] end