app/models/answer.rb in enju_question-0.1.0.pre12 vs app/models/answer.rb in enju_question-0.1.0.pre13

- old
+ new

@@ -1,8 +1,8 @@ # -*- encoding: utf-8 -*- class Answer < ActiveRecord::Base attr_accessible :question_id, :body, :item_identifier_list, :url_list - default_scope order: 'answers.id ASC' + 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