-
Add support for Rails 6.1
Jonathan Fleckenstein, Prem Sichanugrist
-
Fix HTML escaping when
:layout
isfalse
.Anton Katunin
-
Add support to Rails 6.
Jacob Bednarz
-
Support proc options with zero arguments
Fixes #40.
Andrew White
-
The options
:layout
and:cache_path
now behave the same when passed aSymbol
,Proc
or object that responds to call.Andrew White
-
Respect
Accept
header when caching actionsFixes #18.
Andrew White
-
Support Rails 4.0, 4.1, 4.2, 5.0 and edge
Eileen Uchitelle, Andrew White
-
Call
to_s
on the extension as it may be a symbolFixes #10.
Andrew White
-
Fix load order problem with other gems
Andrew White
-
Allow to use non-proc object in
cache_path
option. You can pass an object that responds to acall
method.Example:
class CachePath def call(controller) controller.id end end class TestController < ApplicationController caches_action :index, :cache_path => CachePath.new def index; end end
Piotr Niełacny
-
Extract Action Pack - Action Caching from Rails core.
Francesco Rodriguez