Permalink
Browse files

Fix a tiny typo in custom validators documentation

  • Loading branch information...
1 parent 551f313 commit c27c783a600127c5090af4a0f91f9ab459c82daf @byroot byroot committed with vijaydev Nov 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/validations/validates.rb
@@ -57,7 +57,7 @@ module ClassMethods
#
# 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.

0 comments on commit c27c783

Please sign in to comment.