I am always wondering where the request will be sent after calling ajax; i.e., after the ajax action, what controller/action in Rails will be called.
jQuery.ajax( url [, settings] )
A string containing the URL to which the request is sent.
when calling ajax, url is a string the request going to. When there is no value, it will be the current page by default.