diff options
author | codeforkjeff <jeff@codefork.com> | 2017-04-26 18:48:41 -0400 |
---|---|---|
committer | codeforkjeff <jeff@codefork.com> | 2017-04-26 18:48:41 -0400 |
commit | 3498aacbbebb41e529b6755f4ccfdfbb84c28830 (patch) | |
tree | 5b5b4a77fc05a5d30ac401ca3eaa77d1cbb908ca /railties/test/json_params_parsing_test.rb | |
parent | eac6f3690fd245b9d72aadcfa365ed16c4ef8b96 (diff) | |
download | rails-3498aacbbebb41e529b6755f4ccfdfbb84c28830.tar.gz rails-3498aacbbebb41e529b6755f4ccfdfbb84c28830.tar.bz2 rails-3498aacbbebb41e529b6755f4ccfdfbb84c28830.zip |
Add lazy loading to #keys and #values methods in Session
This fixes a bug where session.keys and session.values return an empty
array unless one of the other methods that does lazy loading from the
underlying store is called first. #keys and #values should also
call #load_for_read!
Diffstat (limited to 'railties/test/json_params_parsing_test.rb')
0 files changed, 0 insertions, 0 deletions