1 2 3 4
class Rating < ActiveRecord::Base belongs_to :comment has_many :taggings, :as => :taggable end