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
I'm just putting @Shannon's comment into an answer to make it easier to find.
If you are requiring email confirmation after sign-up, your user will be left in an in-between state where they have signed up but not clicked the link emailed to them to confirm their account. This is an inactive sign up. To redirect in this situation you need to specify:
def after_inactive_sign_up_path_for(resource)
"http://example.com"
end