| 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 |
|---|