Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Paco Guzmán's Profile

GitHub User: pacoguzman

Site: http://pacoguzman.lacoctelera.net

Comments by Paco Guzmán

Avatar

Thanks Ryan. One thing I hope to see in the future is avoiding the use of that kind of templates hide.js.erb I like pretty much using directly the client side

js
$(document).on('ajax:success', '.announcement', function(){
  $(this).remove();
});

I would like to know how other people do this.