aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/treasure.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/treasure.rb')
-rw-r--r--activerecord/test/models/treasure.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/models/treasure.rb b/activerecord/test/models/treasure.rb
index ffc65466d5..63ff0c23ec 100644
--- a/activerecord/test/models/treasure.rb
+++ b/activerecord/test/models/treasure.rb
@@ -1,6 +1,7 @@
class Treasure < ActiveRecord::Base
has_and_belongs_to_many :parrots
belongs_to :looter, :polymorphic => true
+ # No counter_cache option given
belongs_to :ship
has_many :price_estimates, :as => :estimate_of