1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #37652 from tatsuyafw/remove-needless-require

Remove needless `require "pp"`
This commit is contained in:
Kasper Timm Hansen 2019-11-06 15:54:23 +01:00 committed by GitHub
commit 14d958ec71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 10 deletions

View file

@ -29,8 +29,6 @@ require "action_dispatch"
require "active_support/dependencies"
require "active_model"
require "pp" # require 'pp' early to prevent hidden_methods from not picking up the pretty-print methods until too late
module Rails
class << self
def env

View file

@ -24,8 +24,6 @@ require "active_support/dependencies"
require "active_model"
require "active_record"
require "pp" # require 'pp' early to prevent hidden_methods from not picking up the pretty-print methods until too late
ActiveSupport::Dependencies.hook!
Thread.abort_on_exception = true

View file

@ -1,7 +1,6 @@
# frozen_string_literal: true
require "abstract_unit"
require "pp"
require "active_support/dependencies"
require "dependencies_test_helpers"

View file

@ -405,7 +405,6 @@ def start &blk
if options[:debug]
$DEBUG = true
require 'pp'
p options[:server]
pp wrapped_app
pp app

View file

@ -482,10 +482,6 @@ module Rails
config.helpers_paths
end
console do
require "pp"
end
console do
unless ::Kernel.private_method_defined?(:y)
require "psych/y"