MM 0.13.1 returns Array instead of Set for key type Set

24 views
Skip to first unread message

Jamie Orchard-Hays

unread,
Sep 8, 2015, 11:41:25 AM9/8/15
to mongo...@googlegroups.com
I’ve been on a version of 0.13.0 Beta 2 (:ref => ‘9b87dee507802a8cb96f2d316802c9fd241448c8’) for a couple of years. Just tried the current live gem, 0.13.2 and ran my specs. A few failed that have Sets for keys. I opened Rails Consoles with 0.13.0 Beta 2 and 0.13.1 running. Here’s what I see:

0.13.0 beta 2:
p.descendant_ids.class
=> Set


0.13.1:
p.descendant_ids.class
=> Array

I did a cursory search through the issues and didn’t see anything related, but I thought I’d post here first. Anyone else know about this?

Cheers,

Jamie

jamieorc

unread,
Sep 10, 2015, 4:54:55 PM9/10/15
to MongoMapper
Bump
Reply all
Reply to author
Forward
0 new messages