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

AbstractController::DoubleRenderError #39

Open
soulim opened this issue Sep 14, 2010 · 0 comments
Open

AbstractController::DoubleRenderError #39

soulim opened this issue Sep 14, 2010 · 0 comments

Comments

@soulim
Copy link

soulim commented Sep 14, 2010

Hi,

I have AbstractController::DoubleRenderError in UsersController#create when I'm trying to create user account via OpenID.

The code of create action:

def create
  @user = User.new(params[:user])
  @user.save do |result|
    if result
      flash[:notice] = "Account registered!"
      redirect_to root_url
    else
      redirect_to sign_up_url
    end
  end
end

Parameters for create action:

{"commit"=>"Register",
"authentication_type"=>"user",
"authenticity_token"=>"+X7c+p3LvOQ0Bt38wvu3kykY2UAkKyqaII0yiCPQ7ks=",
"utf8"=>"\342\234\223",
"openid_identifier"=>"username.myopenid.com"}

I'm using Rails 3 and REE.

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

No branches or pull requests

1 participant