diff options
author | Brian Doll <brian@emphaticsolutions.com> | 2010-03-24 09:29:55 -0700 |
---|---|---|
committer | Brian Doll <brian@emphaticsolutions.com> | 2010-03-24 09:29:55 -0700 |
commit | 3807db8e99b880e810e6223923b0cb9dea4ee4b4 (patch) | |
tree | 62f67783211ad05db27aa4336fc3016b79a64776 /railties/guides/source/activerecord_validations_callbacks.textile | |
parent | 926ff0e0a141e27589b4f5c83e168b10a9ac0a54 (diff) | |
download | rails-3807db8e99b880e810e6223923b0cb9dea4ee4b4.tar.gz rails-3807db8e99b880e810e6223923b0cb9dea4ee4b4.tar.bz2 rails-3807db8e99b880e810e6223923b0cb9dea4ee4b4.zip |
Fixing spelling error in activerecord guide in the validation callbacks section, closing issue #2
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 83c85402ec..6575612bee 100644 --- a/railties/guides/source/activerecord_validations_callbacks.textile +++ b/railties/guides/source/activerecord_validations_callbacks.textile @@ -244,7 +244,7 @@ The default error message for +validates_exclusion_of+ is "_is reserved_". h4. +validates_format_of+ -This helper validates the attributes' values by testing whether they match a given regular expresion, which is specified using the +:with+ option. +This helper validates the attributes' values by testing whether they match a given regular expression, which is specified using the +:with+ option. <ruby> class Product < ActiveRecord::Base |