diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-27 11:27:51 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-27 11:27:51 -0700 |
commit | e96d04a2e4e244ea5053cb4e8ab97db604d0c796 (patch) | |
tree | 858c566b0893a23753bac11d8c3cf5ce5295b633 /activerecord/test/schema | |
parent | b42fbd3ecbc3e2c55987e0ae6331443dfd68d5b4 (diff) | |
download | rails-e96d04a2e4e244ea5053cb4e8ab97db604d0c796.tar.gz rails-e96d04a2e4e244ea5053cb4e8ab97db604d0c796.tar.bz2 rails-e96d04a2e4e244ea5053cb4e8ab97db604d0c796.zip |
attributes are cached by string keys, so to_s to support symbols. fixes #5549
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 428a85ab4e..5e7985c530 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -91,6 +91,7 @@ ActiveRecord::Schema.define do create_table :booleans, :force => true do |t| t.boolean :value + t.boolean :has_fun, :null => false, :default => false end create_table :bulbs, :force => true do |t| |