aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorMarc Rendl Ignacio <marcrendlignacio@gmail.com>2017-07-21 08:51:18 +0800
committerMarc Rendl Ignacio <marcrendlignacio@gmail.com>2017-07-21 08:51:18 +0800
commita9c7eaea5d180ffd827cc9b34e173755af3df0c1 (patch)
tree90efefa8bbbd7b391e128e66d39997a63b476486 /guides
parent58f10a31b37e9bb6e975a71aa63744f318ee043d (diff)
downloadrails-a9c7eaea5d180ffd827cc9b34e173755af3df0c1.tar.gz
rails-a9c7eaea5d180ffd827cc9b34e173755af3df0c1.tar.bz2
rails-a9c7eaea5d180ffd827cc9b34e173755af3df0c1.zip
Updates Rails upgrade guide for 4.2 to 5.0 regarding the removal of `ActionView::Helpers::RecordTagHelper`
Diffstat (limited to 'guides')
-rw-r--r--guides/source/upgrading_ruby_on_rails.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md
index 88a7d0a464..6e927d7244 100644
--- a/guides/source/upgrading_ruby_on_rails.md
+++ b/guides/source/upgrading_ruby_on_rails.md
@@ -276,6 +276,16 @@ You can now just call the dependency once with a wildcard.
<% # Template Dependency: recordings/threads/events/* %>
```
+### `ActionView::Helpers::RecordTagHelper` moved to external gem (record_tag_helper)
+
+`content_tag_for` and `div_for` has been removed in favor of just using `content_tag`. To continue using it, add the `record_tag_helper` gem to your Gemfile:
+
+```ruby
+gem 'record_tag_helper', '~> 1.0'
+```
+
+See [#18411](https://github.com/rails/rails/pull/18411) for more details.
+
### Removed Support for `protected_attributes` Gem
The `protected_attributes` gem is no longer supported in Rails 5.