Sha256: a6a4260aa136267eb72c0396cfed719973b0ab9cfe3b53fbb10fa4d740ed82ff
Contents?: true
Size: 515 Bytes
Versions: 2
Compression:
Stored size: 515 Bytes
Contents
class Sfn::Topic < Sfn::Resource attributes :subject, :style, :content, :reply_count, :follower_count, :company_id, :at_sfn, :slug attribute :last_active_at, :type => Time attribute :created_at, :type => Time attribute :author, :type => Sfn::Person def setup_associations has_many :replies, :url => "#{path}/replies" has_many :people, :url => "#{path}/people" has_many :products, :url => "#{path}/products" has_many :tags, :url => "#{path}/tags" belongs_to :company end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-satisfaction-0.7.5 | lib/satisfaction/topic.rb |
ruby-satisfaction-0.7.4 | lib/satisfaction/topic.rb |