Sha256: 01cb9cde703ab8f4fdfd28d3f84bff09aae35cdadd2c8d3000debd0fe5c4631d

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

# presence_at_least_one_validator

Validates presence of at least one attribute

## Installation

    gem "presence_at_least_one_validator"

## Usage

    class ExpenseReport < ActiveRecord::Base
      validates :company, :service_provider, :presence_at_least_one => true
    end

## License

Copyright (c) 2012 nohup brasil, released under the MIT license

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
presence_at_least_one_validator-0.1.0 README.markdown