Flowdock
method

test_errors_aref

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: ActiveModel::Lint::Tests
test_errors_aref() public

Errors Testing

Returns an object that has :[] and :full_messages defined on it. See below for more details.

Returns an Array of Strings that are the errors for the attribute in question. If localization is used, the Strings should be localized for the current locale. If no error is present, this method should return an empty Array.

Show source
Register or log in to add new notes.