mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 09:49:17 +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
|