diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-29 18:27:13 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-29 18:27:13 -0200 |
commit | 6d824ff52430924b20ae52af3da15172bebaf0b9 (patch) | |
tree | b831d996a89401e142d8e778a350aeef6bbfc220 /guides/source | |
parent | 5184fee8bcc452d58a243baf9b54b63bf55c0bd6 (diff) | |
parent | 8185fc734a50867de5349875e4b6548ab217819e (diff) | |
download | rails-6d824ff52430924b20ae52af3da15172bebaf0b9.tar.gz rails-6d824ff52430924b20ae52af3da15172bebaf0b9.tar.bz2 rails-6d824ff52430924b20ae52af3da15172bebaf0b9.zip |
Merge pull request #17431 from hbriggs/upgrade_guide_2.7_2.8
Update 2.7 & 2.8 of upgrading_ruby_on_rails.md [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 8a1d7af923..f07dcd04f7 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -177,7 +177,7 @@ after_bundle do end ``` -### Rails Html Sanitizer +### Rails HTML Sanitizer There's a new choice for sanitizing HTML fragments in your applications. The venerable html-scanner approach is now officially being deprecated in favor of @@ -200,15 +200,15 @@ Read the [gem's readme](https://github.com/rails/rails-html-sanitizer) for more The documentation for `PermitScrubber` and `TargetScrubber` explains how you can gain complete control over when and how elements should be stripped. -If your application needs to use the old behaviour, include `rails-deprecated_sanitizer` in your Gemfile: +If your application needs to use the old sanitizer implementation, include `rails-deprecated_sanitizer` in your Gemfile: ```ruby gem 'rails-deprecated_sanitizer' ``` ### Rails DOM Testing +The [`TagAssertions` module](http://api.rubyonrails.org/classes/ActionDispatch/Assertions/TagAssertions.html) (containing methods such as `assert_tag`), [has been deprecated](https://github.com/rails/rails/blob/6061472b8c310158a2a2e8e9a6b81a1aef6b60fe/actionpack/lib/action_dispatch/testing/assertions/dom.rb) in favor of the `assert_select` methods from the `SelectorAssertions` module, which has been extracted into the [rails-dom-testing gem](https://github.com/rails/rails-dom-testing). -TODO: Mention https://github.com/rails/rails/commit/4e97d7585a2f4788b9eed98c6cdaf4bb6f2cf5ce Upgrading from Rails 4.0 to Rails 4.1 ------------------------------------- |