From 20f768c7af7866e53d14e1ac49277f306238aa93 Mon Sep 17 00:00:00 2001 From: Justin Bull Date: Fri, 12 Aug 2016 16:39:06 -0400 Subject: [PATCH] Foreigner is obsolete in Rails 4.2 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 574647f..51a12dd 100644 --- a/README.md +++ b/README.md @@ -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: