Flowdock
method

from_array

Importance_1
Ruby on Rails latest stable (v3.2.13) - 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.