Permalink
Browse files

Minor formating fix

  • Loading branch information...
1 parent ee044ea commit e9454979555c0d36e630a2b2de43f2432ca231fa @wildchild wildchild committed Jun 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 activemodel/lib/active_model/mass_assignment_security.rb
@@ -111,7 +111,7 @@ def attr_protected(*args)
options = args.extract_options!
role = options[:as] || :default
- self._protected_attributes = protected_attributes_configs.dup
+ self._protected_attributes = protected_attributes_configs.dup
Array.wrap(role).each do |name|
self._protected_attributes[name] = self.protected_attributes(name) + args
@@ -173,7 +173,7 @@ def attr_accessible(*args)
options = args.extract_options!
role = options[:as] || :default
- self._accessible_attributes = accessible_attributes_configs.dup
+ self._accessible_attributes = accessible_attributes_configs.dup
Array.wrap(role).each do |name|
self._accessible_attributes[name] = self.accessible_attributes(name) + args

0 comments on commit e945497

Please sign in to comment.