Flowdock
method

from_array

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveResource::Errors

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

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.