diff options
author | Fabrizio Regini <freegenie@gmail.com> | 2012-11-29 16:16:18 +0100 |
---|---|---|
committer | Fabrizio Regini <freegenie@gmail.com> | 2012-12-05 14:58:38 +0100 |
commit | 6b014a4580a8f17ebb73b441e029c0bb7d34a8c5 (patch) | |
tree | a9f295db53729358accbeb047fe1d0be55e87060 /actionpack/CHANGELOG.md | |
parent | e905639af2fe947ff7e1e2331e9216032dff8b3e (diff) | |
download | rails-6b014a4580a8f17ebb73b441e029c0bb7d34a8c5.tar.gz rails-6b014a4580a8f17ebb73b441e029c0bb7d34a8c5.tar.bz2 rails-6b014a4580a8f17ebb73b441e029c0bb7d34a8c5.zip |
Allow fragment cache to accept :if and :unless options
[Stephen Ausman + Fabrizio Regini]
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 91028e48c8..b57408ede3 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,4 +1,10 @@ ## Rails 4.0.0 (unreleased) ## +* Add :if / :unless conditions to fragment cache: + + <%= cache @model, if: some_condition(@model) do %> + + *Stephen Ausman + Fabrizio Regini* + * Add filter capability to ActionController logs for redirect locations: config.filter_redirect << 'http://please.hide.it/' |