I have a Rails 3 project with Devise, confirmable enabled so the user has to confirm their account through email after registration. Currently the project returns the user t
Which version of devise are you using? I'm pretty sure that this issue was recently resolved so you probably need the latest version from the repo which is still a release candidate (although it should be out soon as they were waiting for omniauth 0.2 to get out of beta which recently happened).
I am using Devise 1.2.rc2 from the github repo with rails 3.0.5. I added the code that you mentioned to my custom RegistrationsController and was forwarded to google as expected after creating a new account.
A cutdown version of my RegistrationsController (in app/controllers/users)
class Users::RegistrationsController < Devise::RegistrationsController
protected
def after_sign_up_path_for(resource)
"http://google.com"
end
end
My routes.rb entry
devise_for :users, :controllers => { :registrations => "users/registrations" }
From my Gemfile
gem 'devise', :git => "git://github.com/plataformatec/devise.git"
Let me know if you're having problems on the latest version of devise.