Skip to content

Commit

Permalink
Fix a tiny typo in custom validators documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Nov 10, 2011
1 parent 983a2dc commit fd17ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/validations/validates.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fd17ffc

Please sign in to comment.