Grails one to many relationship view
I have two grails domain classes Class MultipleChoiceQuestion { String question static constraints = { ... } static hasMany = [options:MultipleChoiceOption] } and class MultipleChoiceOption{ String answerOption boolean correctOption MultipleChoiceQuestion question static constraints = { ... } } I want my users to be able to create a question then add atleast 3 options without navigating/clicking on different screens. My first question is must I generate view and start editing code? And if the answer to question above is yes then my second question is, what's the best way to save a question