impressionist/app/models/impression.rb

4 lines
70 B
Ruby

class Impression
belongs_to :impressionable, :polymorphic=>true
end