diff options
author | Xavier Noria <fxn@hashref.com> | 2009-05-27 22:46:49 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-05-27 22:46:49 +0200 |
commit | 9c0064dd981be9e09df2e902550d0e0ce3e0d30b (patch) | |
tree | 3f0ebb86670885e4b76221246e550f565b59f0d9 /railties/guides/source/activerecord_validations_callbacks.textile | |
parent | 6197606588674bd16e17899e0df15adf2a482ba0 (diff) | |
download | rails-9c0064dd981be9e09df2e902550d0e0ce3e0d30b.tar.gz rails-9c0064dd981be9e09df2e902550d0e0ce3e0d30b.tar.bz2 rails-9c0064dd981be9e09df2e902550d0e0ce3e0d30b.zip |
fixes markup, thanks to Joseph Pecoraro
Diffstat (limited to 'railties/guides/source/activerecord_validations_callbacks.textile')
-rw-r--r-- | railties/guides/source/activerecord_validations_callbacks.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/activerecord_validations_callbacks.textile b/railties/guides/source/activerecord_validations_callbacks.textile index 218125e35f..03d521ea1f 100644 --- a/railties/guides/source/activerecord_validations_callbacks.textile +++ b/railties/guides/source/activerecord_validations_callbacks.textile @@ -338,7 +338,7 @@ end Besides +:only_integer+, the +validates_numericality_of+ helper also accepts the following options to add constraints to acceptable values: * +:greater_than+ - Specifies the value must be greater than the supplied value. The default error message for this option is "_must be greater than {{count}}_". -* +:greater_than_or_equal_to+ - Specifies the value must be greater than or equal to the supplied value. The default error message for this option is "_must be greater than or equal to {{count}}". +* +:greater_than_or_equal_to+ - Specifies the value must be greater than or equal to the supplied value. The default error message for this option is "_must be greater than or equal to {{count}}_". * +:equal_to+ - Specifies the value must be equal to the supplied value. The default error message for this option is "_must be equal to {{count}}_". * +:less_than+ - Specifies the value must be less than the supplied value. The default error message for this option is "_must be less than {{count}}_". * +:less_than_or_equal_to+ - Specifies the value must be less than or equal the supplied value. The default error message for this option is "_must be less or equal to {{count}}_". |