Add the has_many_polymorphs plugin
[cs356-p2-videostore.git] / vendor / plugins / has_many_polymorphs / test / integration / app / app / models / citations_item.rb
diff --git a/vendor/plugins/has_many_polymorphs/test/integration/app/app/models/citations_item.rb b/vendor/plugins/has_many_polymorphs/test/integration/app/app/models/citations_item.rb
new file mode 100644 (file)
index 0000000..03525d6
--- /dev/null
@@ -0,0 +1,4 @@
+class CitationsItem < ActiveRecord::Base
+  belongs_to :citation
+  belongs_to :item, :polymorphic => true
+end