rails/rails — pull request #7024 by bogdan (2012-07-10 11:49:47+00:00)
Title: AM::Validation#validates: custom exception for :strict option

Ability to pass custom exception to `:strict` option of `validates`
Example:

``` ruby
validates :token, :presence => true, :uniqueness => true,
:strict => TokenGenerationError
```