aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-05-10 23:35:01 +0100
committerJon Leighton <j@jonathanleighton.com>2011-05-10 23:35:15 +0100
commita8c1fa4afd4abe6a5c975a164235600d1b8d8b4e (patch)
tree22e7e030e97c99315b4a789c5f1570d26db5b144 /activerecord/test/schema/schema.rb
parent93a85ce333db35b96a70ad02418db8866d89fc08 (diff)
downloadrails-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/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb1
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|