diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-07-21 16:46:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-21 16:46:27 -0400 |
commit | 81d7b9854fe017acc5861400ab7aa899e9edf010 (patch) | |
tree | 046ad5ad0e20e6718937a3c5e190b82104b25b8c /guides | |
parent | db02760ab66f59f04aaa16e134dbbf81338fac1e (diff) | |
parent | ec80bacf6f21801c73b5887cc4bfb943de83ada6 (diff) | |
download | rails-81d7b9854fe017acc5861400ab7aa899e9edf010.tar.gz rails-81d7b9854fe017acc5861400ab7aa899e9edf010.tar.bz2 rails-81d7b9854fe017acc5861400ab7aa899e9edf010.zip |
Merge pull request #29884 from padi/update_rails_5_upgrade_guide
Updates Rails upgrade guide on `ActionView::Helpers::RecordTagHelper`
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 10 |
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. |