Skip to content

Be careful when using the 'shotgun' gem #7

@alssndro

Description

@alssndro

For anyone else who made this oversight while using Shotgun, be warned that sinatra-flash appears as though it isn't working, but really it is.

I'm assuming this is because Shotgun reloads the entire Sinatra app on each request, so sessions weren't working as they would normally.

So don't use shotgun while testing, use webbrick/unicorn/any other server.

Hopefully this saves someone else a lot of time!

P.S Maybe worth mentioning in the README somewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions