diff --git a/activemodel/lib/active_model/error.rb b/activemodel/lib/active_model/error.rb index 990beb5f55..aff09c2bf0 100644 --- a/activemodel/lib/active_model/error.rb +++ b/activemodel/lib/active_model/error.rb @@ -121,9 +121,10 @@ def initialize_dup(other) # :nodoc: attr_reader :attribute # The type of error, defaults to +:invalid+ unless specified attr_reader :type - # The raw value provided as the second parameter when calling +errors#add+ + # The raw value provided as the second parameter when calling + # errors#add attr_reader :raw_type - # The options provided when calling +errors#add+ + # The options provided when calling errors#add attr_reader :options # Returns the error message.