Retrospring/app/models/question.rb

5 lines
77 B
Ruby

class Question < ActiveRecord::Base
belongs_to :user
has_one :answer
end