squeel icon indicating copy to clipboard operation
squeel copied to clipboard

Fix where_unscoping on 4.0, 4.1, 4.2

Open chewi opened this issue 9 years ago • 0 comments

Believe it or not, basic unscope functionality was broken. I don't know how but with Squeel in play, where_values somehow becomes a nested array. Flattening it first fixes the issue.

I have adjusted the 4.1 override to use super so that less code is duplicated. This isn't possible for 4.0. I have added a new override for 4.2 because where_values should not be mutated in that version.

chewi avatar Jun 17 '16 16:06 chewi