Sha256: 86aaa2e71473e28831f49a4f41bf0484d54ebd63eae097bb951e2e1546e8b3c6

Contents?: true

Size: 646 Bytes

Versions: 2

Compression:

Stored size: 646 Bytes

Contents

# Rails3 PG deferred constraints

Copyright: 2011 TMX Credit

Author: Potapov Sergey (aka Blake)


## Intro

This is a Rails 3 engine which provides a hack to avoid
[RI\_ConstraintTrigger Error bug](http://kopongo.com/2008/7/25/postgres-ri_constrainttrigger-error).

It tested with PosgreSQL 9.0.4 and Rails 3.1.0

## Usage

I would recommend to use it only for tests and __NEVER USE IN PRODUCTION__

Add to your Gemfile:

    group :test do
      gem 'rails3_pg_deferred_constraints'
    end

## Testing

* Open ./test/dummy/config/database.yml and modified db connections
* Run `rake test` from the root directory of gem(not dummy application)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails3_pg_deferred_constraints-0.0.4 README.md
rails3_pg_deferred_constraints-0.0.3 README.md