We have a search bar and pagination on the page, using jquery to make ajax request As one start searching for particular record many ajax request is being fired , though we added ajax abort to the previous request but in rails query is still happening for all,
How to stop the rails processing when previous ajax request is aborted