Add the has_many_polymorphs plugin
[cs356-p2-videostore.git] / vendor / plugins / has_many_polymorphs / test / models / cat.rb
diff --git a/vendor/plugins/has_many_polymorphs/test/models/cat.rb b/vendor/plugins/has_many_polymorphs/test/models/cat.rb
new file mode 100644 (file)
index 0000000..0c99ff0
--- /dev/null
@@ -0,0 +1,5 @@
+class Cat < ActiveRecord::Base
+  # STI base class
+  self.inheritance_column = 'cat_type'
+end
+