mirror of https://github.com/rails/rails
Fix a tiny typo in custom validators documentation
This commit is contained in:
parent
983a2dccaa
commit
fd17ffc7a2
|
@ -57,7 +57,7 @@ module ActiveModel
|
||||||
#
|
#
|
||||||
# Additionally validator classes may be in another namespace and still used within any class.
|
# Additionally validator classes may be in another namespace and still used within any class.
|
||||||
#
|
#
|
||||||
# validates :name, :'file/title' => true
|
# validates :name, :'film/title' => true
|
||||||
#
|
#
|
||||||
# The validators hash can also handle regular expressions, ranges,
|
# The validators hash can also handle regular expressions, ranges,
|
||||||
# arrays and strings in shortcut form, e.g.
|
# arrays and strings in shortcut form, e.g.
|
||||||
|
|
Loading…
Reference in New Issue