Skip to content

Commit

Permalink
Merge pull request #838 from ppadron/patch-2
Browse files Browse the repository at this point in the history
Adding note about changes to custom validators.
  • Loading branch information
dblock committed Dec 1, 2014
2 parents 30dd616 + 550afb6 commit 8575111
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ end

For more information see [#836](https://github.com/intridea/grape/issues/836).

### Changes to Custom Validators

To implement a custom validator, you need to inherit from `Grape::Validations::Base` instead of `Grape::Validations::Validator`.

For more information see [Custom Validators](https://github.com/intridea/grape#custom-validators) in the documentation.

### Upgrading to >= 0.9.0

Expand Down

0 comments on commit 8575111

Please sign in to comment.