Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #11436: fix_spelling_of_custom_in_docs.txt

File fix_spelling_of_custom_in_docs.txt, 1.7 kB (added by jsgarvin, 8 months ago)
Line 
1 Index: /media/sda5/workspace/rails_core/vendor/rails/activerecord/lib/active_record/validations.rb
2 ===================================================================
3 --- /media/sda5/workspace/rails_core/vendor/rails/activerecord/lib/active_record/validations.rb (revision 9097)
4 +++ /media/sda5/workspace/rails_core/vendor/rails/activerecord/lib/active_record/validations.rb (working copy)
5 @@ -705,7 +705,7 @@
6        #
7        # Configuration options:
8        # * <tt>in</tt> - An enumerable object of available items
9 -      # * <tt>message</tt> - Specifies a customer error message (default is: "is not included in the list")
10 +      # * <tt>message</tt> - Specifies a custom error message (default is: "is not included in the list")
11        # * <tt>allow_nil</tt> - If set to true, skips this validation if the attribute is null (default is: false)
12        # * <tt>allow_blank</tt> - If set to true, skips this validation if the attribute is blank (default is: false)
13        # * <tt>if</tt> - Specifies a method, proc or string to call to determine if the validation should
14 @@ -737,7 +737,7 @@
15        #
16        # Configuration options:
17        # * <tt>in</tt> - An enumerable object of items that the value shouldn't be part of
18 -      # * <tt>message</tt> - Specifies a customer error message (default is: "is reserved")
19 +      # * <tt>message</tt> - Specifies a custom error message (default is: "is reserved")
20        # * <tt>allow_nil</tt> - If set to true, skips this validation if the attribute is null (default is: false)
21        # * <tt>allow_blank</tt> - If set to true, skips this validation if the attribute is blank (default is: false)
22        # * <tt>if</tt> - Specifies a method, proc or string to call to determine if the validation should