]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/gems/composite_primary_keys-2.2.2/test/fixtures/product.rb
Remove ancient (and unused) composite_primary_keys gem
[rails.git] / vendor / gems / composite_primary_keys-2.2.2 / test / fixtures / product.rb
diff --git a/vendor/gems/composite_primary_keys-2.2.2/test/fixtures/product.rb b/vendor/gems/composite_primary_keys-2.2.2/test/fixtures/product.rb
deleted file mode 100644 (file)
index e780fd2..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-class Product < ActiveRecord::Base
-       set_primary_keys :id  # redundant
-       has_many :product_tariffs, :foreign_key => :product_id
-       has_one :product_tariff, :foreign_key => :product_id
-
-       has_many :tariffs, :through => :product_tariffs, :foreign_key => [:tariff_id, :tariff_start_date]
-end