Sha256: 7d0b03a82c3a745350e5ed29d24d8a8b1bf60467d00efa81d1646c53ee6a6535

Contents?: true

Size: 214 Bytes

Versions: 2

Compression:

Stored size: 214 Bytes

Contents

module Forem
  class Post < ActiveRecord::Base
    attr_accessible :text, :topic_id, :user
    belongs_to :topic, :counter_cache => true
    belongs_to :user, :class_name => Forem::Engine.user_class.to_s
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
neifelheim-forem-0.0.2 app/models/forem/post.rb
neifelheim-forem-0.0.1 app/models/forem/post.rb