projects
/
feedcatcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged updates from trunk into stable branch
[feedcatcher.git]
/
vendor
/
rails
/
activerecord
/
test
/
models
/
sponsor.rb
diff --git a/vendor/rails/activerecord/test/models/sponsor.rb
b/vendor/rails/activerecord/test/models/sponsor.rb
new file mode 100644
(file)
index 0000000..
50c2c2d
--- /dev/null
+++ b/
vendor/rails/activerecord/test/models/sponsor.rb
@@ -0,0
+1,4
@@
+class Sponsor < ActiveRecord::Base
+ belongs_to :sponsor_club, :class_name => "Club", :foreign_key => "club_id"
+ belongs_to :sponsorable, :polymorphic => true
+end
\ No newline at end of file