diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-16 01:32:35 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-16 01:32:35 +0000 |
commit | 1579f3b45db4b5717984174689c41b1e7f679d1b (patch) | |
tree | bce997d63c557eee0a5fd3ed7fa66515ca8a612e /activerecord/test/fixtures/db_definitions/postgresql.sql | |
parent | 01e9b7c3058122ea22946be70dc796dd1aaaf7a5 (diff) | |
download | rails-1579f3b45db4b5717984174689c41b1e7f679d1b.tar.gz rails-1579f3b45db4b5717984174689c41b1e7f679d1b.tar.bz2 rails-1579f3b45db4b5717984174689c41b1e7f679d1b.zip |
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
Diffstat (limited to 'activerecord/test/fixtures/db_definitions/postgresql.sql')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/postgresql.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/db_definitions/postgresql.sql b/activerecord/test/fixtures/db_definitions/postgresql.sql index 9bf1035ea3..e79a8cf023 100644 --- a/activerecord/test/fixtures/db_definitions/postgresql.sql +++ b/activerecord/test/fixtures/db_definitions/postgresql.sql @@ -123,5 +123,5 @@ CREATE TABLE mixins ( root_id integer, created_at timestamp, updated_at timestamp, - PRIMARY KEY (`id`) + PRIMARY KEY (id) ); |