Sha256: f0ed0ac2a631b8ccc5e6ff17b6500a79b63d8f5b0943ab2f954d2edfaad16297

Contents?: true

Size: 229 Bytes

Versions: 2

Compression:

Stored size: 229 Bytes

Contents

module Forem
  class Post < ActiveRecord::Base
  	belongs_to :topic, :counter_cache => true
    attr_accessible :text, :topic_id, :user_id, :user
    
    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
redlumxn-forem-0.0.2 app/models/forem/post.rb
redlumxn-forem-0.0.1 app/models/forem/post.rb