I’m currently developing a photo gallery website with Rails. Each photo
can be commented upon. What I’d like to do is, once the user posts a
comment, use AJAX to submit the comment and then automatically update
the page with the comment the user just submitted.
I also don’t want to use Prototype or the built in AJAX that comes with
handle this without a problem.
php/cgi file. However, I’m a little unsure of the best way to approach
this with Rails. Would I create a controller just for this?
myurl.com/photos/addcomment and post to that controller… or?
Thanks in advance