Flowdock
method

import

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: ActiveModel::Errors
import(error, override_options = {}) public

Imports one error Imported errors are wrapped as a NestedError, providing access to original error object. If attribute or type needs to be overridden, use override_options.

override_options - Hash @option override_options [Symbol] :attribute Override the attribute the error belongs to @option override_options [Symbol] :type Override type of the error.

Show source
Register or log in to add new notes.