instance method on_base

Ruby on Rails 2.3.18

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 222
    def on_base
      on(:base)
    end

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

Defined in ActiveRecord::Errors

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close