mongoid-cached-json icon indicating copy to clipboard operation
mongoid-cached-json copied to clipboard

fix: return false instead of nil for reference types, when value is false-y

Open mzikherman opened this issue 2 years ago • 2 comments

Noticing an odd bug where if a field has type: :reference and the definition is something that returns false, the value of nil gets returned instead of the correct false.

👋 @dblock

mzikherman avatar Apr 18 '23 23:04 mzikherman

Hello there! I think we need to do https://github.com/mongoid/mongoid-cached-json/issues/27 before we start merging other changes. Maybe add Mongoid 8 support? Care to do that?

dblock avatar Apr 19 '23 13:04 dblock

Yup, I can do that. I was noticing the lack of CI yesterday, I ran the spec suite locally but just with the specific version of Ruby/Mongoid I happened to be using and was curious to see the matrix run w/ multiple.

mzikherman avatar Apr 19 '23 13:04 mzikherman