Skip to content

Conversation

lessless
Copy link
Contributor

This should handle absence of :__flash key in the session hash. Obvious this is not a solution for the bug itself, but just a patch for dealing with consequences.

Closes #65

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 75ca96e on lessless:patch-1 into 975feb8 on lotus:master.

@lessless lessless closed this Dec 15, 2014
@jodosha
Copy link
Member

jodosha commented Dec 28, 2014

@lessless I'm sorry that you closed this without having the chance to discuss together about this fix.
As previously mentioned in chat, flash wasn't public API and we were close to the release.

Your will to "battle test" was and it's still precious. But in an project like Lotus with limited time and resources, we should take a side and prioritize things.

Now that we have released it, we can all discuss on how to improve flash feature and to eventually promote it to public API. I hope you understand our constraints.

Can you please expand this PR with a failing test? Thank you in advance.

@jodosha jodosha reopened this Dec 28, 2014
@jodosha jodosha self-assigned this Dec 28, 2014
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0%) when pulling 75ca96e on lessless:patch-1 into 975feb8 on lotus:master.

@jodosha jodosha added this to the v0.3.1 milestone Jan 2, 2015
@jodosha jodosha added the bug label Jan 6, 2015
jodosha added a commit that referenced this pull request Jan 6, 2015
Eliminate `undefined method `[]' for nil:NilClass` bug
@jodosha jodosha merged commit 59431fa into hanami:master Jan 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flash in unsable

3 participants