Displaying 2 results from an estimated 2 matches for "blame_file".
Did you mean:
base_file
2012 Oct 18
0
unexpected return (LocalJumpError) only when executing this code within autoloaded classes?
....rb.30
#<Binding:0x007ff7b1403480> Rails::Railtie::Configurable::ClassMethods
method_missing
call
/path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/activesupport-3.2.8/lib/active_support/dependencies.rb.275
#<Binding:0x007ff7b1402aa8> ActiveSupport::Dependencies::Blamable
blame_file!
return
/path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/activesupport-3.2.8/lib/active_support/dependencies.rb.277
#<Binding:0x007ff7b1402440> ActiveSupport::Dependencies::Blamable
blame_file!
return
/path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/activesupport-3.2...
2012 Oct 17
2
autolog: set_trace_func without all the typing
If it helps anyone developing Rails, apps, or gems, I wrote a shortcut for
set_trace_func, so next time you want to just add a line before and after
some function you are trying to debug you can have Ruby temporarily output
every line, method, etc. executed. Also, it lets you define the format, use
other loggers, etc. via a proc/lambda define, since you might not like the
default format.