View with Variable Number of Fields

These railscast [1] and [2] show how to do what I think you want,
however they are a bit out of date now. I see there are revised
episodes but to get that you have to pay :frowning:
Start by looking at those to get the basic idea.

Does anyone know of more up to date examples?

Colin

[1] http://railscasts.com/episodes/196-nested-model-form-part-1
[2] http://railscasts.com/episodes/197-nested-model-form-part-2