rails nested attributes
- by user342798
I am using rails 3.0.0.beta3 and I am trying to implement form with nested attributes using :accepts_nested_attributes_for.
My form is nested to three levels: Survey Question Answer.
Survey has_many Questions, and Question has many Answers.
Inside the Survey model, there is
:accepts_nested_attributes_for :questions
and inside the question…