diff options
Diffstat (limited to 'activerecord/test/models/pet_treasure.rb')
-rw-r--r-- | activerecord/test/models/pet_treasure.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/models/pet_treasure.rb b/activerecord/test/models/pet_treasure.rb new file mode 100644 index 0000000000..1fe7807ffe --- /dev/null +++ b/activerecord/test/models/pet_treasure.rb @@ -0,0 +1,6 @@ +class PetTreasure < ActiveRecord::Base + self.table_name = "pets_treasures" + + belongs_to :pet + belongs_to :treasure +end |