New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caching doesn't escape loaded values from cache store #109
Comments
Huh? Does that appear in a cached scenario, only? Why isn't the cached view escaped already, then? |
It's appear only when cell is loaded from cache. When cell renders without cache all works correctly. In Rails they do |
But... the cached view should be escaped already. They (the Rails core) change this every other week. Did that work for you in Rails 3.0 and 3.1? |
hm, dunno. We are using caching since Rails 3.2 only. |
I close this because we don't do escaping anymore in Cells 4 - only for defined properties, which should make this issue obsolete. |
In Rails 3.2.1 cells doesn't escape cached values after reading them from database.
Our workaround for this issue is
config/initializers/cells_fix.rb
:The text was updated successfully, but these errors were encountered: