1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

10 commits

Author SHA1 Message Date
Damien Mathieu
84c9f4164b add the fetch method to sessions 2013-10-29 20:37:15 +01:00
Genadi Samokovarov
5438f6866e Extract ActionDispatch::Request#deep_munge
ActionDispatch::Request#deep_munge was introduced as a private method,
but was turned into a public one for the use of
ActionDispatch::ParamsParser.

I have extracted it into ActionDispatch::Request::Utils, so it does not
get mixed up with the Request public methods.
2013-05-30 21:26:37 +03:00
Carlos Antonio da Silva
7d624e0e8c Integrate Action Pack with Rack 1.5
All ActionPack and Railties tests are passing. Closes #8891.

[Carlos Antonio da Silva + Santiago Pastorino]
2013-01-25 17:28:41 -02:00
Aaron Patterson
abd47c15b8 Merge pull request #7495 from steveklabnik/issue_7478
Properly reset the session on reset_session
2012-09-01 23:42:39 -07:00
Andreas Loupasakis
8bfcb0de3a Force reloading of the session after destroy
Use load_for_write! to ensure a refresh of the session object.
This way the new session_id and the empty data will be stored properly.
E.g. in the case of the session cookie store this means that a new
digest will be returned to the user.
2012-09-01 16:35:52 -07:00
Andreas Loupasakis
54a0b01f76 Assign a new session_id to session options hash 2012-09-01 16:35:32 -07:00
Steve Klabnik
a91c7b4006 Fix comment about Session.
SessionHash isn't a thing, and tenses are wrong.
2012-08-31 11:20:04 -07:00
Philip Arndt
6ac458d341 Added ActionDispatch::Request::Session#keys and ActionDispatch::Request::Session#values 2012-05-23 14:47:30 +12:00
Aaron Patterson
d5cc711307 need to dup the default options so that mutations will not impact us 2012-05-04 15:55:57 -07:00
Aaron Patterson
c4f02295df bread AD::Request::Session to it's own file, consolidate HASH OF DOOM lookups 2012-05-03 14:28:11 -07:00