method

on

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActiveModel::DeprecatedErrorMethods
on(attribute) 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 3
    def on(attribute)
      ActiveSupport::Deprecation.warn "Errors#on have been deprecated, use Errors#[] instead"
      self[attribute]
    end
Register or log in to add new notes.