app/models/spree/question.rb in spree-faq-2.1.1 vs app/models/spree/question.rb in spree-faq-2.2.0

- old
+ new

@@ -1,8 +1,6 @@ -module Spree - class Question < ActiveRecord::Base - acts_as_list +class Spree::Question < ActiveRecord::Base + acts_as_list - belongs_to :question_category, class_name: 'Spree::QuestionCategory' - validates :question_category_id, :question, :answer, presence: true - end + belongs_to :question_category, class_name: 'Spree::QuestionCategory' + validates :question_category_id, :question, :answer, presence: true end