mirror of https://github.com/rails/rails
Remove redundant `squish` for single line message
This commit is contained in:
parent
5d0efb0102
commit
12c2f44316
|
@ -78,7 +78,7 @@ module ActiveModel
|
|||
|
||||
def marshal_load(values)
|
||||
if values.is_a?(Hash)
|
||||
ActiveSupport::Deprecation.warn(<<~MSG.squish)
|
||||
ActiveSupport::Deprecation.warn(<<~MSG)
|
||||
Marshalling load from legacy attributes format is deprecated and will be removed in Rails 6.2.
|
||||
MSG
|
||||
empty_hash = {}.freeze
|
||||
|
|
|
@ -21,7 +21,7 @@ module ActiveRecord
|
|||
value = id_value_for_database(value) if value.is_a?(Base)
|
||||
|
||||
if column
|
||||
ActiveSupport::Deprecation.warn(<<~MSG.squish)
|
||||
ActiveSupport::Deprecation.warn(<<~MSG)
|
||||
Passing a column to `type_cast` is deprecated and will be removed in Rails 6.2.
|
||||
MSG
|
||||
type = lookup_cast_type_from_column(column)
|
||||
|
|
Loading…
Reference in New Issue