AutoCommit Son Aug 2 10:03:02 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-02 10:03:02 +02:00
parent f71171f509
commit 15b70ad8c6
8 changed files with 29 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
class Comment < ActiveRecord::Base
attr_accessible :text,:anonym, :intern, :hidden
attr_accessible :text,:anonym, :intern, :hidden, :commentable_id, :commentable_type
# commentable depth, official, intern, anonym
acts_as_votable
acts_as_nested_set :scope => [:commentable_id, :commentable_type]