Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/core_ext/error_comparsion.rb
Instance Method Summary collapse
- #equals_with_active_model_errors(other) ⇒ Object (also: #==)
Instance Method Details
#equals_with_active_model_errors(other) ⇒ Object Also known as: ==
2 3 4 5 |
# File 'lib/core_ext/error_comparsion.rb', line 2 def equals_with_active_model_errors(other) other = other.map { |e| e.to_s } if ActiveModel::AttributeErrors === other equals_without_active_model_errors(other) end |