This is a simple wrapper plugin around the jQuery.ajax function that does a lot of the tedious stuff for you. Originally inspired by the JSON-REST plugin by Nathan Bubna, this takes it a step further and makes talking to a Rails backend totally seamless.