Created
January 16, 2014 06:19
-
-
Save TAKAyukiatkwsk/8450607 to your computer and use it in GitHub Desktop.
AcctiveSupportのAuto Loadingのログを出力する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Logging auto loading | |
require 'active_support/dependencies.rb' | |
require 'logger' | |
ActiveSupport::Dependencies.logger = Logger.new("#{Rails.root}/log/develpment.log") | |
ActiveSupport::Dependencies.log_activity = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
参考:
Rails の自動読み込みの話 - そんなこと覚えてない http://blog.eiel.info/blog/2013/09/07/autoload-rails/