activeadmin / inherited_resources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not using Responders::HttpCacheResponder

brendon opened this issue · comments

Hi there, I think:

include Responders::HttpCacheResponder

is to blame for the weird caching errors I'm seeing. Basically the contents of index and show views are cached (including flash messages) until I forcefully fetch the page again.

How would I go about overriding this?

Please use the mailing list or StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only.

We hit the same error and it surprised us, too 😢 . We removed the HttpCacheResponder in our Controllers and it worked again.

@bitboxer maybe we should just remove it from the default controller. Mind to open a PR?

Sure. PR opened.

Lol, I forgot all about this :)

@brendon sorry to bring this back to your memory 😉

It's all good :) I abandoned the project I was inherited_resources for, but I have fond memories of using it otherwise.