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
Authors

Valeriy Utyaganov

1,076 total downloads 546 for this version
Owners

3bcc64b0b5107ed3a839fa748575ec27

Licenses

MIT

Gemfile
gem 'at_least_one_existence_validator', '~> 0.0.3'
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