RailsCasts Pro episodes are now free!

Learn more or hide this

scompto's Profile

GitHub User: scompto

Comments by


I just figured it out!

For the search form you need to use on()

$(document).on('submit', '#identities_search', function () {

$.get(this.action, $(this).serialize(), null, 'script');

return false;

It is really annoying because it doesn't throw any kind of error, the only reason I got it working is from having to get the sort working out before. Hope this helps someone.


I am having this same issue. For some reason my submission only goes through the AJAX path for the first submit, after that it refreshes the page through the url. I would also really appreciate any thoughts on this