Topic: Update List After Create
While I find my confidence in Rails growing daily, I am pretty moronic when it comes to AJAX stuff. Its one of those things I keep putting off.
As you can tell by the thread title, I am trying to do something basic. I keep finding a lot of outdated tutorials, so hopefully you RJS wizards can enlighten me:
# View Index
= render :partial => 'thing', :collection => @things
# _thing partial
Now instead of rendering an RJS template, I would like to have the page update stuff happen in the controller but am using RESTful actions with respond_to blocks, so that kind of throws me off as to where to stick that code.