Skip to content

Commit

Permalink
remove extra core_ext/object/blank requires
Browse files Browse the repository at this point in the history
activerecord/lib/active_record/connection_adapters/postgresql/column.rb
- usage added in 64fd666
- unneeded because of active_support/rails: 8f58d6e

railties/lib/rails/rack/logger.rb
- usage added in c83d9a1
- usage removed in c131211

activesupport/lib/active_support/number_helper/number_converter.rb
- the NumberHelper was split into multiple classes in 2da9d67, however
  the require was left in NumberConverter even though
  NumberToPhoneConverter is the only class where it's used

activesupport/lib/active_support/duration/iso8601_serializer.rb
- usage added in 04c512d
- usage removed in 51e991f
  • Loading branch information
skipkayhil committed Mar 15, 2022
1 parent 5fc49a6 commit 1faf619
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# frozen_string_literal: true

require "active_support/core_ext/object/blank"

module ActiveRecord
module ConnectionAdapters
module PostgreSQL
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# frozen_string_literal: true

require "active_support/core_ext/object/blank"

module ActiveSupport
class Duration
# Serializes duration to string according to ISO 8601 Duration format.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require "active_support/core_ext/big_decimal/conversions"
require "active_support/core_ext/object/blank"
require "active_support/core_ext/hash/keys"
require "active_support/i18n"
require "active_support/core_ext/class/attribute"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

require "active_support/core_ext/object/blank"
require "active_support/number_helper/number_converter"

module ActiveSupport
Expand Down
1 change: 0 additions & 1 deletion railties/lib/rails/rack/logger.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require "active_support/core_ext/time/conversions"
require "active_support/core_ext/object/blank"
require "active_support/log_subscriber"
require "rack/body_proxy"

Expand Down

0 comments on commit 1faf619

Please sign in to comment.