HackHowToFaq

The problem is that you think you have time!

Rails View/Controller Ajax Response Example

- - posted in Howto, Rails

1 - Problem Description

I fed up looking for a clear and easy to digest Rails Ajax example. I wanted to know how to make a View and a Controller exchange data via Ajax in json format, so I made this post to help me and hopefully you to avoid the pain next time you need to implement such a thing! :D