impressionist/app/models/impression.rb

3 lines
90 B
Ruby

class Impression < ActiveRecord::Base
belongs_to :impressionable, :polymorphic=>true
end