diff options
author | Shuhei Kagawa <s-kagawa@m3.com> | 2014-03-03 22:39:15 +0900 |
---|---|---|
committer | Shuhei Kagawa <s-kagawa@m3.com> | 2014-03-03 22:39:15 +0900 |
commit | 38594b35275a431ccf2fdc10be7219685aeed487 (patch) | |
tree | ee63e59b3b48d7f6edeca96fff5de1ca4aafe88d /actionpack/lib/action_controller | |
parent | 686e820c48ec8d1509e160816626b7418fb04b13 (diff) | |
download | rails-38594b35275a431ccf2fdc10be7219685aeed487.tar.gz rails-38594b35275a431ccf2fdc10be7219685aeed487.tar.bz2 rails-38594b35275a431ccf2fdc10be7219685aeed487.zip |
Add spaces to deep_munge log message.
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/log_subscriber.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/log_subscriber.rb b/actionpack/lib/action_controller/log_subscriber.rb index e920a33765..b1acca2435 100644 --- a/actionpack/lib/action_controller/log_subscriber.rb +++ b/actionpack/lib/action_controller/log_subscriber.rb @@ -54,9 +54,9 @@ module ActionController end def deep_munge(event) - message = "Value for params[:#{event.payload[:keys].join('][:')}] was set"\ - "to nil, because it was one of [], [null] or [null, null, ...]."\ - "Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation"\ + message = "Value for params[:#{event.payload[:keys].join('][:')}] was set "\ + "to nil, because it was one of [], [null] or [null, null, ...]. "\ + "Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation "\ "for more information."\ debug(message) |