Browse files

Use info debugging level when logging

  • Loading branch information...
1 parent b88ca5b commit 67d9153df1e6eb55c5e0c19bd5a995eabafc6e56 @DavidHuie DavidHuie committed Feb 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/action_controller/parameters.rb
View
2 lib/action_controller/parameters.rb
@@ -217,7 +217,7 @@ def unpermitted_parameters!(params)
if unpermitted_keys.any?
case self.class.action_on_unpermitted_parameters
when :log
- ActionController::Base.logger.debug "Unpermitted parameters: #{unpermitted_keys.join(", ")}"
+ ActionController::Base.logger.info "Unpermitted parameters: #{unpermitted_keys.join(", ")}"
when :raise
raise ActionController::UnpermittedParameters.new(unpermitted_keys)
end

0 comments on commit 67d9153

Please sign in to comment.