instance method on_base

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

on_base()

Returns errors assigned to the base object through add_to_base according to the normal rules of on(attribute).

Source
# File activerecord/lib/active_record/validations.rb, line 149
    def on_base
      on(:base)
    end

Defined in activerecord/lib/active_record/validations.rb line 149 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Errors

Type at least 2 characters to search.

↑↓ navigate · open · esc close