Fix a tiny typo in custom validators documentation

This commit is contained in:
Jean Boussier 2011-11-10 18:49:37 +01:00
parent 983a2dccaa
commit fd17ffc7a2
1 changed files with 1 additions and 1 deletions

View File

@ -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.