Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rely on Rack::Session stores API for more compatibility across the Ru…
…by world.
- Loading branch information
Showing
9 changed files
with
90 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
50215f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks.
Uninitialized constant Rack::Session::Abstract::SessionHash (NameError)
50215f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are using Rails master, you need to link to Rack git repo form your Gemfile.
50215f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, I was too quick to comment.
About to update my Gemfile to use previous commit, and noticed I hadn't specified 3-0-stable as the branch.
Sorry about that.
50215f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this commit remove the
ssl?
method fromActionDispatch::Http::Url
? Other methods in there seems to depend on it.50215f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't fear! ssl? is now in Rack!
50215f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, ok. I'm asking because of this ticket: https://rails.lighthouseapp.com/projects/8994/tickets/5750-requestssl-should-reflect-rackurl_scheme
I've already marked it as invalid, because as I said there might be a perfectly good reason. :)