Skip to content
Browse files

Merge branch 'fix/assignments-with-splat' into rails-edge

  • Loading branch information...
2 parents a49831e + 4e40d37 commit 000fff344ce9403f852efeef3ec7c775a22acf18 @gix gix committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/models/fake.rb
  2. +1 −1 spec/unit/mass_assignment_security_spec.rb
View
2 spec/models/fake.rb
@@ -21,7 +21,7 @@ def _super_attributes=(*args)
end
def attributes=(*args)
- self._super_attributes = *args
+ self.send(:_super_attributes=, *args)
end
end
include super_module
View
2 spec/unit/mass_assignment_security_spec.rb
@@ -11,7 +11,7 @@ def _super_attributes=(*args)
end
def attributes=(*args)
- self._super_attributes = *args
+ self.send(:_super_attributes=, *args)
end
end
include super_module

0 comments on commit 000fff3

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