From f8ab3ae18fbb5c4a4c9563296d0e7c528e754c42 Mon Sep 17 00:00:00 2001 From: Chris Holmes Date: Wed, 28 Dec 2016 19:15:49 +0000 Subject: Raise error when has_many through is defined before through association https://github.com/rails/rails/issues/26834 This change raises an error if a has_many through association is defined before the through association. --- activerecord/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activerecord/CHANGELOG.md') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 05e498575c..97af75546d 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,9 @@ +* Raise error when has_many through is defined before through association + + Fixes #26834 + + *Chris Holmes* + * Deprecate passing `name` to `indexes`. *Ryuta Kamizono* -- cgit v1.2.3