From 3807db8e99b880e810e6223923b0cb9dea4ee4b4 Mon Sep 17 00:00:00 2001 From: Brian Doll Date: Wed, 24 Mar 2010 09:29:55 -0700 Subject: Fixing spelling error in activerecord guide in the validation callbacks section, closing issue #2 --- railties/guides/source/activerecord_validations_callbacks.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') 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. class Product < ActiveRecord::Base -- cgit v1.2.3