diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2014-08-16 21:16:24 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2014-08-17 19:25:47 +0200 |
commit | 1e2ffe7ae67c37cf8170be0c864cbdaacc27c1b4 (patch) | |
tree | 268a11144c9cf80d5ed4d8a5114cd33d4ee022e5 /railties/lib/rails/generators/rails | |
parent | a2400308eab88b5eff27e05d1f7624345fb33b54 (diff) | |
download | rails-1e2ffe7ae67c37cf8170be0c864cbdaacc27c1b4.tar.gz rails-1e2ffe7ae67c37cf8170be0c864cbdaacc27c1b4.tar.bz2 rails-1e2ffe7ae67c37cf8170be0c864cbdaacc27c1b4.zip |
Prepare for partial release.
- Default to Rails::DeprecatedSanitizer in ActionView::Helpers::SanitizeHelper.
- Add upgrade notes.
- Add sanitizer to new applications Gemfiles.
- Remove 'rails-dom-testing' as a dependency.
Diffstat (limited to 'railties/lib/rails/generators/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index 8b51fda359..ac16a117e8 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -15,6 +15,9 @@ source 'https://rubygems.org' # Use ActiveModel has_secure_password # gem 'bcrypt', '~> 3.1.7' +# Use Rails Html Sanitizer for HTML sanitization +gem 'rails-html-snaitizer' + # Use Unicorn as the app server # gem 'unicorn' |