projects
/
cs356-p2-videostore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the has_many_polymorphs plugin
[cs356-p2-videostore.git]
/
vendor
/
plugins
/
has_many_polymorphs
/
test
/
integration
/
app
/
app
/
models
/
address.rb
diff --git a/vendor/plugins/has_many_polymorphs/test/integration/app/app/models/address.rb
b/vendor/plugins/has_many_polymorphs/test/integration/app/app/models/address.rb
new file mode 100644
(file)
index 0000000..
cc040d3
--- /dev/null
+++ b/
vendor/plugins/has_many_polymorphs/test/integration/app/app/models/address.rb
@@ -0,0
+1,4
@@
+class Address < ActiveRecord::Base
+ belongs_to :user
+ belongs_to :state
+end