aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShuhei Kagawa <s-kagawa@m3.com>2014-03-03 22:39:15 +0900
committerShuhei Kagawa <s-kagawa@m3.com>2014-03-03 22:39:15 +0900
commit38594b35275a431ccf2fdc10be7219685aeed487 (patch)
treeee63e59b3b48d7f6edeca96fff5de1ca4aafe88d
parent686e820c48ec8d1509e160816626b7418fb04b13 (diff)
downloadrails-38594b35275a431ccf2fdc10be7219685aeed487.tar.gz
rails-38594b35275a431ccf2fdc10be7219685aeed487.tar.bz2
rails-38594b35275a431ccf2fdc10be7219685aeed487.zip
Add spaces to deep_munge log message.
-rw-r--r--actionpack/lib/action_controller/log_subscriber.rb6
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)