Skip to content

Create the tmp/sessions dir if it doesn't exist#46

Open
adammck wants to merge 1 commit intorubycas:masterfrom
adammck:create_session_dirs
Open

Create the tmp/sessions dir if it doesn't exist#46
adammck wants to merge 1 commit intorubycas:masterfrom
adammck:create_session_dirs

Conversation

@adammck
Copy link

@adammck adammck commented Jul 23, 2012

Given that the directory is temporary, it seems reasonable to silently create it if it doesn't already exist. This just tripped me up because our deployment script wasn't creating the directory.

@elspethsoup
Copy link
Member

I would request one tweak to this. Instead of running the whole example set for the case when the session directory doesn't exist, can you just assert that it gets created?

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.

2 participants