Created
August 16, 2017 20:13
-
-
Save frostmark/31fafb5834c9026f06fb7d35f4c89f7c to your computer and use it in GitHub Desktop.
Revisions
-
frostmark created this gist
Aug 16, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ class Answer < ApplicationRecord include Policy belongs_to :question belongs_to :user validates :body, presence: true end