projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Froze rails gems
[depot.git]
/
vendor
/
rails
/
activerecord
/
test
/
models
/
treasure.rb
diff --git a/vendor/rails/activerecord/test/models/treasure.rb
b/vendor/rails/activerecord/test/models/treasure.rb
new file mode 100644
(file)
index 0000000..
97c690c
--- /dev/null
+++ b/
vendor/rails/activerecord/test/models/treasure.rb
@@ -0,0
+1,6
@@
+class Treasure < ActiveRecord::Base
+ has_and_belongs_to_many :parrots
+ belongs_to :looter, :polymorphic => true
+
+ has_many :price_estimates, :as => :estimate_of
+end