Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The repair_validations helper was not working correctly before because | wangjohn | 2013-03-19 | 1 | -2/+2 |
| | | | | | | it only cleared the validations that created :validate callbacks. This didn't include the validates created by validates_with, so I've added a method to clear all validations. | ||||
* | Simplify repair_validations on AR and make it work with new callbacks. | José Valim | 2010-01-01 | 1 | -16/+4 |
| | |||||
* | No need to use ValidationsRepairHelper hack on ActiveModel anymore, ↵ | José Valim | 2009-12-23 | 1 | -0/+35 |
Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there. |