RubyGems.org

This validator tests whether associated collection is going to be empty after saving. It will be passed if at least one association of the specified collection will exist. The validator provides helper method and default error message.

installgem install at_least_one_existence_validator -v 0.0.2
Authors

Valeriy Utyaganov

1,439 total downloads 705 for this version
Owners

3bcc64b0b5107ed3a839fa748575ec27

Licenses

MIT

Gemfile
gem 'at_least_one_existence_validator', '~> 0.0.2'
Versions
  1. 0.0.3 July 16, 2013 (8.5 KB)
  2. 0.0.2 July 12, 2013 (5 KB)
Runtime Dependencies
  1. activemodel >= 3
Development Dependencies
  1. activesupport >= 0