Primary LanguageRuby
To add a survey to a model, you can use: has_one :survey, as: :surveyable
has_one :survey, as: :surveyable