diff options
author | Mike Breen <hardbap@gmail.com> | 2009-05-10 15:02:00 +1200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2009-05-10 15:02:00 +1200 |
commit | 9010ed27559ed5ab89ea71b4b16f4c8e56d03dbb (patch) | |
tree | cc6198a10a89e8a7017f2f38368e94bdd8348ad6 /activerecord/test/schema | |
parent | 026b78f9076216990bddb1aa5d83d23a647c02a5 (diff) | |
download | rails-9010ed27559ed5ab89ea71b4b16f4c8e56d03dbb.tar.gz rails-9010ed27559ed5ab89ea71b4b16f4c8e56d03dbb.tar.bz2 rails-9010ed27559ed5ab89ea71b4b16f4c8e56d03dbb.zip |
Allow you to pass :all_blank to :reject_if option to automatically create a Proc that will reject any record with blank attributes.
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 3b0e17c867..6fb918c60e 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -57,6 +57,7 @@ ActiveRecord::Schema.define do create_table :birds, :force => true do |t| t.string :name + t.string :color t.integer :pirate_id end |