diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2011-11-10 18:49:37 +0100 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2011-11-10 18:49:37 +0100 |
commit | fd17ffc7a27c2fc5c3c2afb82c9e1909fd5ba7a1 (patch) | |
tree | 45f238211a256dcf1e84b9307c7449dd47c5db33 /activemodel/lib | |
parent | 983a2dccaa263bad1f055a85d864a8097f0af8a2 (diff) | |
download | rails-fd17ffc7a27c2fc5c3c2afb82c9e1909fd5ba7a1.tar.gz rails-fd17ffc7a27c2fc5c3c2afb82c9e1909fd5ba7a1.tar.bz2 rails-fd17ffc7a27c2fc5c3c2afb82c9e1909fd5ba7a1.zip |
Fix a tiny typo in custom validators documentation
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/validations/validates.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/validations/validates.rb b/activemodel/lib/active_model/validations/validates.rb index fbceb81e8f..8e09f6ac35 100644 --- a/activemodel/lib/active_model/validations/validates.rb +++ b/activemodel/lib/active_model/validations/validates.rb @@ -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. |