mirror of https://github.com/rails/rails
Fix rdoc syntax for errors#add (#46857)
This commit is contained in:
parent
9de0d59bb7
commit
b9aaf99701
|
@ -121,9 +121,10 @@ module ActiveModel
|
|||
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
|
||||
# <tt>errors#add</tt>
|
||||
attr_reader :raw_type
|
||||
# The options provided when calling +errors#add+
|
||||
# The options provided when calling <tt>errors#add</tt>
|
||||
attr_reader :options
|
||||
|
||||
# Returns the error message.
|
||||
|
|
Loading…
Reference in New Issue