Sha256: 43a67be86146d6c073fa8f87b95896458040e017ff89ad9a985c09e20c04cc07

Contents?: true

Size: 685 Bytes

Versions: 4

Compression:

Stored size: 685 Bytes

Contents

Dependent Restrict
==================

A gem for rails 2, 3 and 4 that retrofits and improves rails 4 functionality

Rails 4 offers 2 very useful dependent restrictions:
```ruby
dependent: :raise_with_exception
dependent: :raise_with_error
```

In rails 3 it was just:
```ruby
dependent: :raise # same sa raise_with_exception
```

In rails 2 these didn't exist, it was just
```ruby
dependent: destroy
```

Which is available in rails 2, 3 and 4

## Differences from standard rails 4

* Error includes detailed message which shows up to 5 of the records that are dependent
  This is useful for users to know which dependencies must be removed before they can
  remove the parent record

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dependent_restrict-0.2.1 README.md
dependent_restrict-0.2.0 README.md
dependent_restrict-0.1.1 README.md
dependent_restrict-0.1.0 README.md