aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-05-12 13:35:05 +0200
committerXavier Noria <fxn@hashref.com>2013-05-12 13:38:33 +0200
commit593666b5d5cc2c3e887f69fd93d9b5dd75a8dc62 (patch)
treea5b17fb85a2da5396fe3b52bf3436c40b1377ae2 /guides
parentd8b8c0ef8717508c01ab21687666941008413906 (diff)
downloadrails-593666b5d5cc2c3e887f69fd93d9b5dd75a8dc62.tar.gz
rails-593666b5d5cc2c3e887f69fd93d9b5dd75a8dc62.tar.bz2
rails-593666b5d5cc2c3e887f69fd93d9b5dd75a8dc62.zip
specify that dom_(id|class) are deprecated in controllers, views are fine
Diffstat (limited to 'guides')
-rw-r--r--guides/source/upgrading_ruby_on_rails.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md
index 51d6775c3e..1d14656f79 100644
--- a/guides/source/upgrading_ruby_on_rails.md
+++ b/guides/source/upgrading_ruby_on_rails.md
@@ -118,7 +118,7 @@ Please read [Pull Request #9978](https://github.com/rails/rails/pull/9978) for d
* 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. You will need to include the `ActionView::RecordIdentifier` module in controllers requiring this feature.
+* 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.
* Rails 4.0 changed how `assert_generates`, `assert_recognizes`, and `assert_routing` work. Now all these assertions raise `Assertion` instead of `ActionController::RoutingError`.