method

each_full

Importance_1
v1.2.6 - Show latest stable - 0 notes - Class: ActiveRecord::Errors
each_full() public

Yields each full error message added. So Person.errors.add("first_name", "can’t be empty") will be returned through iteration as "First name can’t be empty".

Show source
Register or log in to add new notes.