diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2019-03-11 18:39:14 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2019-03-11 19:22:37 +0530 |
commit | 538a459a3b8b4192636c58b32f48a9e87089cb10 (patch) | |
tree | 2dd231fa076d17773ed464862ac78edc6ac15b40 /activestorage/lib | |
parent | 33800d2330e1c7d36dcbb5150857cfb33fc45379 (diff) | |
download | rails-538a459a3b8b4192636c58b32f48a9e87089cb10.tar.gz rails-538a459a3b8b4192636c58b32f48a9e87089cb10.tar.bz2 rails-538a459a3b8b4192636c58b32f48a9e87089cb10.zip |
Squish the deprecation messages across the codebase
Sample example ->
Before:
prathamesh@Prathameshs-MacBook-Pro-2 blog *$ rails server thin
DEPRECATION WARNING: Passing the Rack server name as a regular argument is deprecated
and will be removed in the next Rails version. Please, use the -u
option instead.
After:
prathamesh@Prathameshs-MacBook-Pro-2 squish_app *$ rails server thin
DEPRECATION WARNING: Passing the Rack server name as a regular argument is deprecated and will be removed in the next Rails version. Please, use the -u option instead.
Diffstat (limited to 'activestorage/lib')
-rw-r--r-- | activestorage/lib/active_storage/transformers/image_processing_transformer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/transformers/image_processing_transformer.rb b/activestorage/lib/active_storage/transformers/image_processing_transformer.rb index 7f8685b72d..506150576c 100644 --- a/activestorage/lib/active_storage/transformers/image_processing_transformer.rb +++ b/activestorage/lib/active_storage/transformers/image_processing_transformer.rb @@ -22,7 +22,7 @@ module ActiveStorage def operations transformations.each_with_object([]) do |(name, argument), list| if name.to_s == "combine_options" - ActiveSupport::Deprecation.warn <<~WARNING + ActiveSupport::Deprecation.warn <<~WARNING.squish Active Storage's ImageProcessing transformer doesn't support :combine_options, as it always generates a single ImageMagick command. Passing :combine_options will not be supported in Rails 6.1. |