Skip to content
Browse files

align them assignments

  • Loading branch information...
1 parent 8cbad02 commit 49cb4ed845e730f69fb2a26a594976039d3d2559 @jonleighton jonleighton committed Aug 17, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 activerecord/lib/active_record/attribute_assignment.rb
View
8 activerecord/lib/active_record/attribute_assignment.rb
@@ -84,11 +84,11 @@ def attributes=(new_attributes)
def assign_attributes(new_attributes, options = {})
return if new_attributes.blank?
- attributes = new_attributes.stringify_keys
- multi_parameter_attributes = []
+ attributes = new_attributes.stringify_keys
+ multi_parameter_attributes = []
nested_parameter_attributes = []
- previous_options = @mass_assignment_options
- @mass_assignment_options = options
+ previous_options = @mass_assignment_options
+ @mass_assignment_options = options
unless options[:without_protection]
attributes = sanitize_for_mass_assignment(attributes, mass_assignment_role)

0 comments on commit 49cb4ed

Please sign in to comment.
Something went wrong with that request. Please try again.