title: Cookie overflow in rails application?
body: <blockquote>
    <p>ActionDispatch::Cookies::CookieOverflow in UsersController#create</p>
  </blockquote>
  
  <p>I have this error when I try to open the page. I do not know how to debug this error. Do you have any suggestion for this problem?</p>
  
  <pre><code>def create
    @user = User.new(params[:user])
    sign_in @user
  
    if @user.save
      @user.folders.create(:folder_name=&gt;"Default Folder", :user_id=&gt;@user.id)
      flash[:success] = "Welcome to Bunch&lt;it&gt;! "
      redirect_to @user
    else
      @title = "Sign up"
      render 'new'
    end
  end
  
  
  def sign_in(user)
    cookies.permanent.signed[:remember_token] = [user.id, user.salt]
    session[:current_user] = user
    current_user = user
  end
  </code></pre>