Sha256: 8046397af1d6fb00b5907f956be562e70a7f23e9f396db3814cf38018bfb2cfe

Contents?: true

Size: 905 Bytes

Versions: 1

Compression:

Stored size: 905 Bytes

Contents

# Unico [![Build Status](https://semaphoreapp.com/api/v1/projects/18c36e3b-5184-40ee-baa9-855266c4572b/176779/badge.png)](https://semaphoreapp.com/integragrp/unico)

Common resources for nobe projects like countries, states, cities, people, etc.

## Installation

Add this line to your application's Gemfile:

    gem 'unico'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install unico

## Usage

If you need to add an association and a validation on person model, you could do that:

    class Person < Unico::Person
      has_many :payments, :dependent => :restrict_with_exception

      validates :birthdate, :presence => true
    end

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unico-training-7.8.0 README.md