Retrospring/app/models/answer.rb

6 lines
101 B
Ruby

class Answer < ActiveRecord::Base
belongs_to :user
belongs_to :question
has_many :comments
end