app/models/answer.rb in enju_question-0.2.0 vs app/models/answer.rb in enju_question-0.3.0.beta.1
- old
+ new
@@ -1,5 +1,4 @@
-# -*- encoding: utf-8 -*-
class Answer < ActiveRecord::Base
default_scope { order('answers.id ASC') }
#scope :public_answers, where(:shared => true)
#scope :private_answers, where(:shared => false)
belongs_to :user, validate: true