intridea/grape — pull request #644 by oliverbarnes (2014-05-14 05:02:45+00:00)
Title: WIP: Refactor validations

Is this going in a useful/helpful direction?

Was itching to untangle validations.rb, after having some trouble grokking it when adding the mutual exclusion validator. Intend to add unit tests and then perhaps refactor some of the complex methods under ParamsScope

It does involve a new /validations/validators directory though, which I'm not crazy about