aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2011-05-18 16:51:42 +0900
committerAkira Matsuda <ronnie@dio.jp>2011-05-18 16:51:42 +0900
commitd54c7781f2b81a81c8528fbeb14d4aadcff36506 (patch)
treea84b82e6b9194651bb5648a4a68ecf3c9e0cf484
parent2692d3278a7b15699491f8c86b4180eaad9ce196 (diff)
downloadrails-d54c7781f2b81a81c8528fbeb14d4aadcff36506.tar.gz
rails-d54c7781f2b81a81c8528fbeb14d4aadcff36506.tar.bz2
rails-d54c7781f2b81a81c8528fbeb14d4aadcff36506.zip
always enable `pp` on the Rails console
-rw-r--r--railties/lib/rails/application.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb
index 1e4d25f18c..17d772b269 100644
--- a/railties/lib/rails/application.rb
+++ b/railties/lib/rails/application.rb
@@ -195,6 +195,7 @@ module Rails
end
def initialize_console(sandbox=false)
+ require "pp"
require "rails/console/app"
require "rails/console/helpers"
end