app/models/answer.rb in enju_question-0.0.15 vs app/models/answer.rb in enju_question-0.0.16

- old
+ new

@@ -1,7 +1,8 @@ # -*- encoding: utf-8 -*- class Answer < ActiveRecord::Base - default_scope :order => 'id ASC' + 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 has_many :answer_has_items, :dependent => :destroy