Take the 2-minute tour ×

I am able to accept nested attributes of a has many relationship in active admin, but is it possible to nest two levels?

I mean, i have a model lesson, which has many chapters, and the chapters have many sections. Is it possible to create chapters and their sections all in the lessons tab? How? My model lesson accepts nested attributes for chapters and chapters accept nested attributes for sections

I am using ror3 and last version of active admin?


share|improve this question
add comment

1 Answer

I should recommend you to check it out the nested_form gem it's very straight forward to implement it and you can nest as many forms as you need it. Also it it has support for SimpleForm and Formtastic.

Here you could find an example where explains a 4 level nested form.

share|improve this answer
Dones it work with active admin? –  Tony Aug 10 '12 at 11:26
add comment

Your Answer


