aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/rating.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/rating.rb')
-rw-r--r--activerecord/test/models/rating.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/models/rating.rb b/activerecord/test/models/rating.rb
new file mode 100644
index 0000000000..25a52c4ad7
--- /dev/null
+++ b/activerecord/test/models/rating.rb
@@ -0,0 +1,4 @@
+class Rating < ActiveRecord::Base
+ belongs_to :comment
+ has_many :taggings, :as => :taggable
+end