July 2010
1 post
Complex Forms With UJS in Rails
Complex forms used to be fairly difficult to put together in rails. Rails 2.3 made it a little easier with nested attributes, but the hardest part, for me at least, was adding new object fields via javascript. There is quite a lot of this going on in a project I’m currently working on and I’ve come up with a new system utilizing Rails 3’s spiffy new ujs support.
View Gist
...