Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to Authorise a user account already authorised by active user causes error #8

Open
baseonmars opened this issue Jun 14, 2009 · 0 comments
Labels

Comments

@baseonmars
Copy link
Owner

Suspect this is caused by not returning in the action meothd after the redirect in redirect_if_account_already_owned

ActionController::DoubleRenderError in Twitter usersController#callback

Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".
RAILS_ROOT: /Users/danyo/dev/birdherd

Application Trace | Framework Trace | Full Trace
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:1127:in redirect_to_full_url' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:1114:inredirect_to'
/Users/danyo/dev/birdherd/app/controllers/twitter_users_controller.rb:64:in `callback'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant