Skip to content

Commit

Permalink
Revert "Merge pull request #17943 from jeremywadsack/doc_cache_import…
Browse files Browse the repository at this point in the history
…ability"

This reverts commit b0e7278, reversing
changes made to 785d04e.

This is not true. It is a bug and we will fix in the latest 4.0.x
release.
  • Loading branch information
rafaelfranca committed Dec 11, 2014
1 parent 81e940c commit 6961afe
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions guides/source/upgrading_ruby_on_rails.md
Expand Up @@ -915,10 +915,6 @@ Also check your environment settings for `config.action_dispatch.best_standards_

Rails 4.0 removes the `j` alias for `ERB::Util#json_escape` since `j` is already used for `ActionView::Helpers::JavaScriptHelper#escape_javascript`.

#### Cache

The caching method changed between Rails 3.x and 4.0. You should [change the cache namespace](http://guides.rubyonrails.org/caching_with_rails.html#activesupport-cache-store) and roll out with a cold cache.

### Helpers Loading Order

The order in which helpers from more than one directory are loaded has changed in Rails 4.0. Previously, they were gathered and then sorted alphabetically. After upgrading to Rails 4.0, helpers will preserve the order of loaded directories and will be sorted alphabetically only within each directory. Unless you explicitly use the `helpers_path` parameter, this change will only impact the way of loading helpers from engines. If you rely on the ordering, you should check if correct methods are available after upgrade. If you would like to change the order in which engines are loaded, you can use `config.railties_order=` method.
Expand Down

0 comments on commit 6961afe

Please sign in to comment.