class Answer < ApplicationRecord include Policy belongs_to :question belongs_to :user validates :body, presence: true end