From 1579f3b45db4b5717984174689c41b1e7f679d1b Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 16 Dec 2004 01:32:35 +0000 Subject: Added Base.validates_format_of that Validates whether the value of the specified attribute is of the correct form by matching it against the regular expression provided. [Marcel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/developer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/test/fixtures/developer.rb') diff --git a/activerecord/test/fixtures/developer.rb b/activerecord/test/fixtures/developer.rb index 737fc3824b..1c4cc30506 100644 --- a/activerecord/test/fixtures/developer.rb +++ b/activerecord/test/fixtures/developer.rb @@ -3,6 +3,6 @@ class Developer < ActiveRecord::Base protected def validate - errors.add_on_boundry_breaking("name", 3..20) + errors.add_on_boundary_breaking("name", 3..20) end -end \ No newline at end of file +end -- cgit v1.2.3