Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rm dead code

  • Loading branch information...
commit 72f5085404965f4762ecc67839bb5c93db73c8aa 1 parent fd16cb3
@tenderlove tenderlove authored
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.