From 673db9a2e22dd2af2d30316f55b543c304809faa Mon Sep 17 00:00:00 2001 From: themetric Date: Mon, 15 Jul 2013 18:34:58 -0700 Subject: [PATCH] update warning message in check --- lib/brakeman/checks/check_model_attr_accessible.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/brakeman/checks/check_model_attr_accessible.rb b/lib/brakeman/checks/check_model_attr_accessible.rb index 2bb73506..34128b88 100644 --- a/lib/brakeman/checks/check_model_attr_accessible.rb +++ b/lib/brakeman/checks/check_model_attr_accessible.rb @@ -28,7 +28,7 @@ class Brakeman::CheckModelAttrAccessible < Brakeman::BaseCheck :file => model[:file], :warning_type => "Mass Assignment", :warning_code => :mass_assign_call, - :message => "Please check and protect #{attribute} attribute defined under attr_accessible.", + :message => "Potentially dangerous attribute #{attribute} available for mass assignment.", :confidence => confidence break # Prevent from matching single attr multiple times end -- GitLab