1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Minor formating fix

This commit is contained in:
Alexander Uvarov 2011-06-24 03:52:39 +06:00
parent ee044ea547
commit e945497955

View file

@ -111,7 +111,7 @@ module ActiveModel
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 @@ module ActiveModel
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