mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix a tiny typo in custom validators documentation
This commit is contained in:
parent
983a2dccaa
commit
fd17ffc7a2
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ module ActiveModel
|
|||
#
|
||||
# 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,
|
||||
# arrays and strings in shortcut form, e.g.
|
||||
|
|
Loading…
Reference in a new issue