Read more

Debugging AJAX requests with better_errors

Thomas Klemm
April 24, 2014Software engineer

better_errors Show archive.org snapshot is an awesome gem for enhanced error pages in development, featuring a live-REPL for some light debugging.

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

To debug the exception you got on an AJAX-Request, visit /__better_errors on your app's root path (e.g. http://localhost:3000/__better_errors). It shows the error page for the last exception that occurred, even when it has been triggered by an AJAX request.

Posted by Thomas Klemm to makandra dev (2014-04-24 17:59)