ErrorLocator

Open erroneous code in your favorite editor by clicking exception call stack in browser. Gem for Ruby on Rails.

Usage:

  1. setup $EDITOR variable. For example:

#.bash_login export EDITOR=geany

  1. Add “gem ‘error-locator’, :group => :development” to your Gemfile

  2. Add “post ‘/error-locator’ => ErrorLocator if Rails.env.development?” to your routes

  3. bundle install

  4. rails s

  5. Open browser, when found error click on the line with error.

Currently supported: Application and Full Traces. Currently supported editors: Sublime Text 2, Geany. Editor must open file with line number: ‘dir/filename.rb:75’