diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-05-10 23:35:01 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-05-10 23:35:15 +0100 |
commit | a8c1fa4afd4abe6a5c975a164235600d1b8d8b4e (patch) | |
tree | 22e7e030e97c99315b4a789c5f1570d26db5b144 /activerecord/test/schema | |
parent | 93a85ce333db35b96a70ad02418db8866d89fc08 (diff) | |
download | rails-a8c1fa4afd4abe6a5c975a164235600d1b8d8b4e.tar.gz rails-a8c1fa4afd4abe6a5c975a164235600d1b8d8b4e.tar.bz2 rails-a8c1fa4afd4abe6a5c975a164235600d1b8d8b4e.zip |
Add test to specify that attributes from an association's conditions should be assigned without mass-assignment protection when a record is built on the association.
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 c20304c0e2..c8a98f121d 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -89,6 +89,7 @@ ActiveRecord::Schema.define do create_table :bulbs, :force => true do |t| t.integer :car_id t.string :name + t.boolean :frickinawesome end create_table "CamelCase", :force => true do |t| |