Skip to content
Browse files

Print load message to log, not STDOUT

  • Loading branch information...
1 parent 540b73e commit 84fe3b56dcf960db1106e66f13a6ba7ee6cf8e2e @ddiachkov committed Jul 20, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/chrno_responder.rb
  2. +1 −1 lib/chrno_responder/version.rb
View
2 lib/chrno_responder.rb
@@ -11,7 +11,7 @@ class Railtie < Rails::Railtie
initializer "chrno_responder.initialize" do
# Выставляем новый responder по умолчанию
ActiveSupport.on_load( :after_initialize ) do
- puts "--> load chrno_responder"
+ Rails.logger.debug "--> load chrno_responder"
ActionController::Base.responder = ChrnoResponder::Responder
end
end
View
2 lib/chrno_responder/version.rb
@@ -1,5 +1,5 @@
# encoding: utf-8
module ChrnoResponder
# Версия гема
- VERSION = "0.3.1"
+ VERSION = "0.3.2"
end

0 comments on commit 84fe3b5

Please sign in to comment.
Something went wrong with that request. Please try again.