jeffp / wizardly

create a functioning wizard for any model in three steps
http://github.com/jeffp/wizardly-examples
MIT License
131 stars 16 forks source link

Problem with wizards containing has_many :through relationships #7

Open aberios opened 15 years ago

aberios commented 15 years ago

If I have a Question model, for example, with a has_many :answers, :through => :question_answers relationship, and create a wizard with a step allowing a user to check the answers, the wizard retains the associated models when :persist_model is set to :per_page, but if :persist_model is set to :once, the associated answers are not retained. Any way around this?