Forum: Ruby on Rails OmniAuth routing callback difference between rails 3.1 and rails 3.2

Ea905398d356c5d6a10bba35b8d16f0c?d=identicon&s=25 Lovell Mcilwain (lmcilwain)
on 2013-08-01 17:37
(Received via mailing list)
Hello all,

I don't have much experience with OmniAuth and I am trying to figure out
what is going on with my routes.

My app is currently running rails 3.1.3. When I run rake routes this is
what I see for my user call back:

 user_omniauth_callback        /users/auth/:action/callback(.:format)

{:action=>/company_authentication/,
:controller=>"users/omniauth_callbacks"}

Things seem to function without any issue.

I am attempting to upgrade my app to rails 3.2.13. When I run rake
routes
this is what I see:

user_omniauth_callback        /users/auth/:action/callback(.:format)

users/omniauth_callbacks#(?-mix:company_authentication)

I am not sure I understand what has changed and how to fix it. The error
that I currently getting with this route is:

ActionController::RoutingError (uninitialized constant
Users::OmniauthCallbacksController)

Does anyone have any ideas on how I can go about looking into this
issue?
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.