her icon indicating copy to clipboard operation
her copied to clipboard

Return an empty collection when where(:foo => []) is given

Open chewi opened this issue 9 years ago • 4 comments

The previous behaviour was to return everything! This is now consistent with ActiveRecord and avoids a needless request.

The new behaviour is not applied to has_one associations as they currently seem to ignore the where method entirely.

chewi avatar Aug 12 '16 12:08 chewi

hi @chewi I've just got commit access on this repo and plan to get back on track with maintenance over time - will be in touch soon!

edtjones avatar Sep 29 '16 18:09 edtjones

Rebased.

chewi avatar Feb 20 '17 15:02 chewi

Rebased again.

chewi avatar Nov 10 '17 17:11 chewi

And again!

chewi avatar May 03 '18 10:05 chewi