Permalink
Browse files

rm dead code

  • Loading branch information...
1 parent fd16cb3 commit 72f5085404965f4762ecc67839bb5c93db73c8aa @tenderlove tenderlove committed Nov 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/forbidden_attributes_protection.rb
@@ -16,7 +16,7 @@ class ForbiddenAttributesError < StandardError
module ForbiddenAttributesProtection # :nodoc:
protected
- def sanitize_for_mass_assignment(attributes, options = {})
+ def sanitize_for_mass_assignment(attributes)
if attributes.respond_to?(:permitted?) && !attributes.permitted?
raise ActiveModel::ForbiddenAttributesError
else

0 comments on commit 72f5085

Please sign in to comment.