You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Rails 4.2.9 and Ruby 2.3.5. I just upgraded actionpack-action_caching gem from 1.1.1 to 1.2.0. Before, on v1.1.1 I was able to specify the cache_path with a symbolized method name (without the _url postfix), like this:
If this is expected behavior, please make that more explicit in the readme -- that the symbolized cache path needs to be under protected and cannot be under private.
MarinaMurashev
changed the title
cache_path passed in as a symbol doesn't work in v1.2.0
private cache_path passed in as a symbol doesn't work in v1.2.0
Nov 17, 2017
I'm running Rails 4.2.9 and Ruby 2.3.5. I just upgraded actionpack-action_caching gem from 1.1.1 to 1.2.0. Before, on v1.1.1 I was able to specify the
cache_path
with a symbolized method name (without the_url
postfix), like this:After updating the gem to v1.2.0, this would only work if I wrapped the
cache_path
method in a newProc
with its full name including the_url
portion:It also works with the short lambda syntax:
Can you verify whether v1.2.0 of the gem hurt the ability to pass in a symbolized url path name to cache_path?:
The text was updated successfully, but these errors were encountered: