aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/rating.rb
blob: 5409230c2e76500834bfb8752138476945782c0a (plain) (blame)
1
2
3
4
5
6
7
8
class Rating < ActiveRecord::Base
  belongs_to :comment
  has_many :taggings, :as => :taggable
end

class SpecialRating < Rating
  belongs_to :special_comment
end