Make polymorphic has_many work in rails 3.1.1 #76

merged 1 commit into from Nov 21, 2011


None yet
2 participants

tomhughes commented Nov 18, 2011

It seems polymorphic has_many also changed in rails 3.1.1 although the resulting failure was more subtle in that is just stopped adding the type part of the constraint.

This commit fixes that, and generally updates add_constraints to match the current (rails 3.1.2) code modulo the cpk specific changes.

cfis added a commit that referenced this pull request Nov 21, 2011

Merge pull request #76 from tomhughes/master
Make polymorphic has_many work in rails 3.1.1

@cfis cfis merged commit ec261b0 into composite-primary-keys:master Nov 21, 2011


This comment has been minimized.

Show comment Hide comment

cfis Nov 21, 2011


Thanks - Charlie


cfis commented Nov 21, 2011

Thanks - Charlie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment