error-locator
Open erroneous code in your favorite editor by clicking exception call stack in browser. Gem for Ruby on Rails.
Usage:
- setup
$EDITOR
variable. For example:
#.bash_login
export EDITOR=geany
- Add to your Gemfile:
gem 'error-locator', :group => :development
- Add to your routes.rb:
post '/error-locator' => ErrorLocator if Rails.env.development?
bundle install
rails s
- 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 support opening file with line number like 'dir/filename.rb:75'
Current Issues: you need to open editor before locating an error.