A new feature of Rails is the ability of manipulating related models. While it’s great, dynamically adding / removing nested model entries is not an established way. However, it’s already solved by Eloy Duran. His method was for Prototype and default form builder, which had to be converted to HAML, JQuery and Formtastic one for me. Here’s how. Continue reading
Add form fragments dynamically
Reply