app/models/answer.rb in enju_question-0.1.0.pre13 vs app/models/answer.rb in enju_question-0.1.0.pre14
- old
+ new
@@ -1,7 +1,6 @@
# -*- encoding: utf-8 -*-
class Answer < ActiveRecord::Base
- attr_accessible :question_id, :body, :item_identifier_list, :url_list
default_scope { order('answers.id ASC') }
#scope :public_answers, where(:shared => true)
#scope :private_answers, where(:shared => false)
belongs_to :user, validate: true
belongs_to :question, validate: true