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

Set flash in test session when necessary. #15682

Merged
merged 1 commit into from
Jun 13, 2014

Conversation

tgxworld
Copy link
Contributor

to_session_value returns nil when empty.

`to_session_value` returns nil when empty.
@arunagw
Copy link
Member

arunagw commented Jun 13, 2014

Why this change is required? Just a another way to write this?

@tumayun
Copy link
Contributor

tumayun commented Jun 13, 2014

👍

@tgxworld
Copy link
Contributor Author

For the occasion, where no 'flash' is set. We're doing unnecessary work by adding it to the session hash and then removing it.

rafaelfranca added a commit that referenced this pull request Jun 13, 2014
Set flash in test session when necessary.
@rafaelfranca rafaelfranca merged commit 0bfdf40 into rails:master Jun 13, 2014
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.

None yet

4 participants