Project

General

Profile

Bug #4703

Rails migration fails on Rails 3.2.8 when setting counter caches on has_many :through relationships

Added by Stephen Benjamin over 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
DB migrations
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Seems to be the same bug as this:
https://github.com/rails/rails/issues/4293

Migration works fine on Rails 3.2.17+.

Associated revisions

Revision 9e0d8a4e (diff)
Added by Stephen Benjamin over 5 years ago

fixes #4703 - reset_counters doesn't work for has_many :through relationships on rails 3.2.8

History

#1 Updated by Stephen Benjamin over 5 years ago

  • Status changed from New to Ready For Testing

#2 Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Dominic Cleal over 5 years ago

  • Legacy Backlogs Release (now unused) set to 4

Also available in: Atom PDF