1
0
Fork 0
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:
Jean Boussier 2011-11-10 18:49:37 +01:00
parent 983a2dccaa
commit fd17ffc7a2

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.