mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-24 09:43:24 -04:00
6 lines
150 B
Ruby
6 lines
150 B
Ruby
class Comment < ActiveRecord::Base
|
|
attr_accessible :author_id, :body, :post_id
|
|
belongs_to :author, :class_name => 'Member'
|
|
belongs_to :post
|
|
end
|