rosa-build/app/models/activity_feed.rb

10 lines
146 B
Ruby

class ActivityFeed < ActiveRecord::Base
belongs_to :user
serialize :data
def partial
'activity_feeds/partials/' + self.kind
end
end