method

from_array

Importance_1
v3.2.1 - Show latest stable - 0 notes - Class: ActiveResource::Errors
from_array(messages, save_cache = false) public

Grabs errors from an array of messages (like ActiveRecord::Validations). The second parameter directs the errors cache to be cleared (default) or not (by passing true).

Show source
Register or log in to add new notes.