Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove arity check that does not work with ActiveRecord objects
The save method a standard ActiveRecord object has an Arity of -1, not 1 as expected by this code. ``` User.first.method(:save).arity > -1 ``` The effect is that when we pass in a validation context it is not used.
- Loading branch information