Rails View/Controller Ajax Response Example

Recipe # | posted in Howto, Rails | Comments

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