Skip to content

Commit

Permalink
Foreigner is obsolete in Rails 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
f3ndot authored Aug 12, 2016
1 parent 5e66ca0 commit 20f768c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ The following adapters are supported:
* postgres
* sqlite (foreign key methods are a no-op)

**Foreigner was rendered obsolete in Rails 4.2**. The migration DSL [supports foreign keys out of the box](http://edgeguides.rubyonrails.org/4_2_release_notes.html#foreign-key-support) via `add_foreign_key` and `remove_foreign_key`.

## Installation

Add the following to your Gemfile:
Expand Down

0 comments on commit 20f768c

Please sign in to comment.