rails/activerecord/test/models/rating.rb
2016-08-06 19:37:57 +02:00

5 lines
96 B
Ruby

class Rating < ActiveRecord::Base
belongs_to :comment
has_many :taggings, as: :taggable
end