I would like to know what is the correct way of processing an ajax call in Rails 4 (when using remote: true option), the problem is that I would like to use all classic steps during the processing, such as success, error, beforeSend and complete.I would like to know what is the correct way of