Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
Merge branch 'fix/assignments-with-splat' into rails-edge
Browse files Browse the repository at this point in the history
  • Loading branch information
gix committed Feb 25, 2011
2 parents a49831e + 4e40d37 commit 000fff3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/models/fake.rb
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/mass_assignment_security_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 000fff3

Please sign in to comment.