class Question < ActiveRecord::Base
  belongs_to :user
  has_many   :answers
  validates :title, presence: true
  validates :body,  presence: true
  has_many   :votes, as: :article
  has_many   :comments, as: :article
end

class Question < ActiveRecord::Base
  belongs_to :user
  has_many   :answers
  has_many   :votes, as: :article
  has_many   :comments, as: :article
  validates :title, presence: true
  validates :body,  presence: true
end

Resolve line order merge conflict.
Resolve line order merge conflict.
