Permalink
Browse files

specify that dom_(id|class) are deprecated in controllers, views are …

…fine
  • Loading branch information...
fxn committed May 12, 2013
1 parent d8b8c0e commit 593666b5d5cc2c3e887f69fd93d9b5dd75a8dc62
Showing with 1 addition and 1 deletion.
  1. +1 −1 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`.

0 comments on commit 593666b

Please sign in to comment.