Ruby on Rails: exception_logger con soporte jQuery
Estaba yo viendo el screencast éste sobre notificación de excepciones del grandÃsimo Ryan Bates y me puse a instalarlo, que son, calculando por lo alto, un par de minutos. Y cuando intento acceder al listado de excepciones veo que no funcionan los links ni las acciones ajax de borrar y tal… ouch¡.. resulta que está pensado para trabajar con Prototype y yo tengo todo por defecto con jQuery… asà que nada, gracias al gran poder forkeador de github me puse a modificar el plugin para que soporte jQuery y aquà tenéis el resultado:
Instalarlo tal que asÃ:
$ git clone git://github.com/fguillen/exception_logger_jquery.git vendor/plugins/exception_logger
Si queréis paginación hay que instalar la gema will_paginate y tocar el init.rb:
$ sudo gem install will_paginate
# init.rb require 'will_paginate' $PAGINATION_TYPE = 'will_paginate'
Enero 31st, 2009 at 5:39 pm
Obrigado Fernando, this will help a lot