Sha256: bea16571ac8191e991df1628ec29bb20967f6ea64df3ce4e5e1c38933457f76f

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

# Rein

Database constraints made easy for ActiveRecord.


## Introduction

Rein adds bunch of methods to your ActiveRecord migrations so you can easily tame your database.

ActiveRecord doesn't make it easy for you to weild the power of your database.


## Quick Start

First, install the gem:

    gem install rein

Then slap some constraints in your migrations. For example:

    add_numericality_constraint :books, :publication_month, :greater_than_or_equal_to => 1, :less_than_or_equal_to => 12

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rein-0.3.0 README.md
rein-0.2.1 README.md
rein-0.2.0 README.md