diff options
author | Ladislav Smola <lsmola@redhat.com> | 2016-04-06 05:46:55 +0200 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-04-06 00:46:55 -0300 |
commit | cb4f6875b6a27894f3456cda79cb929f7243a1ac (patch) | |
tree | 3105b7d6541b48c59623d572a2fe8ac39a47be78 /activerecord/test/schema | |
parent | ff982e4188c571f350a7c2b7528862cfd86ef305 (diff) | |
download | rails-cb4f6875b6a27894f3456cda79cb929f7243a1ac.tar.gz rails-cb4f6875b6a27894f3456cda79cb929f7243a1ac.tar.bz2 rails-cb4f6875b6a27894f3456cda79cb929f7243a1ac.zip |
Fix undefined method `owners' for NullPreloader:Class
* Fix undefined method `owners' for NullPreloader:Class
Fixing undefined method `owners' for
ActiveRecord::Associations::Preloader::NullPreloader:Class
* Use Ruby 1.9 hash format
Use Ruby 1.9 hash format
#24192
[Rafael Mendonça França + Ladislav Smola]
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 2bcdc8729e..1027bcb365 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -614,6 +614,12 @@ ActiveRecord::Schema.define do end end + create_table :pets_treasures, force: true do |t| + t.column :treasure_id, :integer + t.column :pet_id, :integer + t.column :rainbow_color, :string + end + create_table :pirates, force: true do |t| t.column :catchphrase, :string t.column :parrot_id, :integer |