Skip to content

Instantly share code, notes, and snippets.

@route
Created October 2, 2012 16:25
Show Gist options
  • Save route/3820687 to your computer and use it in GitHub Desktop.
Save route/3820687 to your computer and use it in GitHub Desktop.
#<NoMethodError: undefined method `sub' for nil:NilClass>
/Users/route/.rvm/gems/ruby-1.9.3-p194@grabber/gems/actionpack-3.2.8/lib/action_dispatch/testing/assertions/routing.rb:176:in `method_missing': undefined local variable or method `method_name' for #<ControllerSpec:0x007fa3c6560c68> (NameError)
puts e.backtrace
raise unless defined?(method_name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment