Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

jfquarite's Profile

GitHub User: jfquarite

Comments by

Avatar

But... how can I change this

def new
@survey = Survey.new
3.times do
question = @survey.questions.build
4.times { question.answers.build }
end
end

In order to build as much as I want?