Bob Dutcheshen

Results 2 issues of Bob Dutcheshen

Before change https://github.com/rails/jbuilder/commit/65dfb3305b1c1ebae550c420a6ab6bd0e21271ec you could pass the :force option to cache! This worked because cache! used Rails.cache.fetch which takes the force option. That commit rewrote cache to use Rails.cache.read and...

In versions 2.5.0 and older you could do `json.cache! "key_name", expires_in: 10.minutes, force: force? do` where force? is a method that returns a boolean. If force was true then rails...

attached PR