diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-05-26 12:20:22 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-05-26 12:20:22 -0300 |
commit | 290c9e3bd0240dcf83932252bc2107a41c01d9b2 (patch) | |
tree | ab41876038b532bb2f9c30aa4e903a367364edc3 /guides | |
parent | a19200d7bde3a852bad9efd3e5430aea3f788e1c (diff) | |
parent | a48b4ea1a3cec912ae2e2182d003cf3ceaee5d18 (diff) | |
download | rails-290c9e3bd0240dcf83932252bc2107a41c01d9b2.tar.gz rails-290c9e3bd0240dcf83932252bc2107a41c01d9b2.tar.bz2 rails-290c9e3bd0240dcf83932252bc2107a41c01d9b2.zip |
Merge pull request #20309 from stephen-puiszis/patch-1
Add info on default layout functionality 3.2 >> 4.0 upgrade
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 3680055f0c..17309d4b47 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -940,6 +940,8 @@ Please read [Pull Request #9978](https://github.com/rails/rails/pull/9978) for d * Rails 4.0 has removed the XML parameters parser. You will need to add the `actionpack-xml_parser` gem if you require this feature. +* Rails 4.0 changes the default `layout` lookup set using symbols or procs that return nil. To get the "no layout" behavior, return false instead of nil. + * Rails 4.0 changes the default memcached client from `memcache-client` to `dalli`. To upgrade, simply add `gem 'dalli'` to your `Gemfile`. * Rails 4.0 deprecates the `dom_id` and `dom_class` methods in controllers (they are fine in views). You will need to include the `ActionView::RecordIdentifier` module in controllers requiring this feature. |