method

new

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: NestedError
new(base, inner_error, override_options = {}) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/nested_error.rb, line 8 def initialize(base, inner_error, override_options = {}) @base = base @inner_error = inner_error @attribute = override_options.fetch(:attribute) { inner_error.attribute } @type = override_options.fetch(:type) { inner_error.type } @raw_type = inner_error.raw_type @options = inner_error.options end
Register or log in to add new notes.