Skip to content

Instantly share code, notes, and snippets.

View lhoBas's full-sized avatar

Bas lhoBas

View GitHub Profile
@lhoBas
lhoBas / project.rb
Created August 3, 2010 19:35
Problem:
ActionController::RoutingError: No route matches {:action=>"destroy", :controller=>"users", :id=>#<User id: 1, first_name: "Demo", last_name: "User", email: "demo@example.com">}
from /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.0.0.rc/lib/action_dispatch/routing/route_set.rb:398:in `generate'
from /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.0.0.rc/lib/action_dispatch/routing/route_set.rb:450:in `generate'
from /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.0.0.rc/lib/action_dispatch/routing/route_set.rb:478:in `url_for'
from /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.0.0.rc/lib/action_dispatch/routing/url_for.rb:132:in `url_for'
from /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.0.0.rc/lib/action_dispatch/routing/route_set.rb:195:in `user_url'
from /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.0.0.rc/lib/action_dispatch/routing/polymorphic_routes.rb:114:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.0.0.rc/lib/action_dispatch/routing/polymorphic_routes.rb:114:in `polymorphic_u

Keybase proof

I hereby claim:

  • I am lhobas on github.
  • I am lhobas (https://keybase.io/lhobas) on keybase.
  • I have a public key whose fingerprint is 34AF 4AFE A9C4 ACDD A445 BE10 677C 83C3 5249 4075

To claim this, I am signing this object: