method
each_full
v1.2.6 -
Show latest stable
- 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".