mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-01 14:39:08 +01:00
6 lines
162 B
Ruby
6 lines
162 B
Ruby
class Answer < ActiveRecord::Base
|
|
belongs_to :user
|
|
belongs_to :question
|
|
has_many :comments, dependent: :destroy
|
|
has_many :smiles, dependent: :destroy
|
|
end
|