Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

scompto's Profile

GitHub User: scompto

Comments by

Avatar

I just figured it out!

For the search form you need to use on()

ruby
$(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.

Avatar

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