Files
growstuff/app/models/comment.rb
2013-02-06 15:20:44 +11:00

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