cocoon/spec/dummy/app/models/comment.rb

6 lines
84 B
Ruby

class Comment < ActiveRecord::Base
belongs_to :post
attr_protected :author
end