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

Corrected set_cookie for Sinatra > 0.9.4 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Corrected set_cookie for Sinatra > 0.9.4 #4

wants to merge 1 commit into from

Conversation

conatus
Copy link

@conatus conatus commented Sep 21, 2010

Attempted to get this running but found that cookie wasn't being set. Turns out Sinatra 0.9.4 does things a little bit differently. Corrected this in main.rb.

Great program, by the way.

@mgriffin
Copy link

I had just done the same edit right before I saw this request.

@kiruri
Copy link

kiruri commented Oct 28, 2010

Hi! I'm using Sinatra 1.1.0.

When I try to login, I get:
undefined method `set_cookie' for #Sinatra::Application:0x7f9fa41708b8

@chriswaugh
Copy link

+1 Also made the same change locally - will refrain from committing it in the hope this is approved :)

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

Successfully merging this pull request may close these issues.

4 participants