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

3 commits

Author SHA1 Message Date
Vipul A M
3a24247b95 Properly verify that cache accepts and user expires value. 2016-04-17 23:12:04 +05:30
Rafael Mendonça França
f16709231d Merge pull request #22800 from dgynn/pr_cache_helper_options
Restore ability to pass extra options to cache stores
2016-01-29 00:15:19 -05:00
Dave Gynn
837e40dcac restore ability to pass extra options to cache stores
The `cache` helper methods should pass any extra options
to the cache store. For example :expires_in would be a
valid option if memcache was the cache store. The change
in commit da16745 broke the ability to pass any options
other than :skip_digest and :virtual_path. This PR
restores that functionality and adds a test for it.
2015-12-26 22:37:31 -08:00