ruby on rails - ActionController::RoutingError (No route matches "/users"): -



ruby on rails - ActionController::RoutingError (No route matches "/users"): -

i'm using rails 3 + devise. when user signs , there error. app redirecting to:

http://localhost:3000/users

showing error messages, in log see following:

started post "/users" 127.0.0.1 @ mon jul 11 20:22:19 -0700 2011 processing registrationscontroller#create html parameters: {"commit"=>"create account", "fb_access_token"=>"xxxxx", "authenticity_token"=>"fwd/xxxx=", "utf8"=>"✓", "user"=>{"remember_me"=>"0", "lname"=>"xxxx", "fname"=>"xxxx", "password"=>"[filtered]", "email"=>"xxxx-inc.com"}, "fb_uuid"=>"312312"} sql (0.1ms) begin user load (0.2ms) select "users"."id" "users" ("users"."email" = 'brett@companyline-inc.com') limit 1 sql (0.2ms) rollback rendered layouts/_header.html.erb (1.1ms) rendered registrations/new.html.erb within layouts/unauthorized (11.3ms) completed 200 ok in 45ms (views: 22.6ms | activerecord: 2.7ms) started "/users" 127.0.0.1 @ mon jul 11 20:22:20 -0700 2011 actioncontroller::routingerror (no route matches "/users"): rendered /library/ruby/gems/1.8/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)

routes.rb:

# omniauth - fb connect match '/users/auth/facebook/callback' => 'authentications#create' # devise devise_for :users, :controllers => {:registrations => "registrations"}

why actioncontroller error?

what rake routes show you? order in place routes matters also, since rails router picks first route matches.

hope helps!

ruby-on-rails ruby-on-rails-3 devise

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -