My controller has the following:
caches_action :render_ticker_for_channel, :expires_in => 30.seconds
In my routes file, I have the following:
match '/render_c_t/:channel_id' => 'render#render_ticker_for_channel', :as => :render_channel_ticker
In the log file, I see the following:
Write fragment views/mcr3.dev/render_c_t/63 (11.6ms)
How do I finish this manually? I need to finish this with a controller other than the render controller, but even inside the render controller I cannot make it expire the right thing.
If I do this:
expire_action(:controller => 'render', :action => 'render_ticker_for_channel', :id => c.id)
I see:
Expire fragment views/mcr3.dev/render/render_ticker_for_channel/63 (3.2ms)
If I do this:
expire_action(:controller => 'render', :action => 'render_c_t', :id => c.id)
I see:
Expire fragment views/mcr3.dev/render/render_c_t/63 (3.2ms)
It:
expire_action("render_c_t/#{c.id}")
gives:
Expire fragment views/render_c_t/63 (3.5ms)
How can I make it expire the same path that generates 'caches_action' ?!