RailsCasts Pro episodes are now free!

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.