2.0.0

53 views
Skip to first unread message

Durran

unread,
Mar 30, 2011, 4:50:54 AM3/30/11
to Mongoid
2.0.0 is pushed, but doesn't mean development is going to slow down
since we still have a lot of ground to cover. Most open issues have
workarounds so fixes will be in point releases from now on since the
rc's were getting out of control. :)

As many may have noticed I've been heavy on the documentation side
lately trying to get that out as well. The new site will get also
pushed this week since only the relations documentation is left
outside of the existing embeds_many docs that are already there... If
you want a preview of the documentation you can now look at the master
branch of mongoid-site before it gets pushed. I'll have that all
finished this weekend.

I'll also be playing catchup on the mailing list this weekend as well
so hold tight on some questions that have been unanswered.

Also for those of you going to Scottish Ruby Conference the following
weekend I look forward to seeing you there. I won't be talking about
Mongoid, but I'll be happy to have side chats with any who are
interested, especially if it involves conversations over alcohol. :)

Thomas R. Koll

unread,
Mar 30, 2011, 5:11:14 AM3/30/11
to mon...@googlegroups.com

Am 30.03.2011 um 10:50 schrieb Durran:

> ...in point releases from now on since the rc's were getting out of control. :)

clearly the Understatement of the Year :D

Is it as stable and consistent as the last beta releases? (yes, I stayed that far behind)
I have a productive app so I don't wanna ruin the data right away.

ciao, tom

--
Thomas R. "TomK32" Koll
just a geek trying to change the world
http://ananasblau.com || http://photostre.am || http://photolog.at

Joel Oliveira

unread,
Mar 30, 2011, 6:44:31 AM3/30/11
to mon...@googlegroups.com, Mongoid
Durran (and the rest of the Mongoid team).

Thank you for all the hard work you've put into Mongoid. I can tell you that it is truly, TRULY, appreciated. You guys are phenomenal.

- Joel

OES

unread,
Mar 30, 2011, 7:55:28 AM3/30/11
to Mongoid
Hey Durran

Like the rest I just love mongoid and thank you for this great gem.

BUT I will be buying you a Beer as I live in Scotland only 60 minutes
away from Edinburgh :-).

Are you going to be doing a session?

Lee

OES

unread,
Mar 30, 2011, 8:08:30 AM3/30/11
to Mongoid
I see ya: Raise the bar, lower the pressure

Ill be there !!

LI Daobing

unread,
Mar 31, 2011, 10:37:58 PM3/31/11
to mon...@googlegroups.com
criteria.id and all.id no longer works

ruby-1.8.7-p334 :001 > User.last.id
 => BSON::ObjectId('4d903ce49323131117000001')
ruby-1.8.7-p334 :002 > User.criteria.id('4d903ce49323131117000001')
ArgumentError: wrong number of arguments (1 for 0)
        from (irb):2:in `id'
        from (irb):2
ruby-1.8.7-p334 :003 > User.all.id('4d903ce49323131117000001')
ArgumentError: wrong number of arguments (1 for 0)
        from (irb):3:in `id'
        from (irb):3

Jacques Crocker

unread,
Apr 1, 2011, 12:30:19 AM4/1/11
to mon...@googlegroups.com
You'll want to change that to .for_ids

User.for_ids("4d903ce49323131117000001")
User.all.for_ids("4d903ce49323131117000001")

This makes it so you don't have to use User.criteria every time

LI Daobing

unread,
Apr 1, 2011, 3:44:37 AM4/1/11
to mon...@googlegroups.com
User.for_ids not works

only following works:
User.all.for_ids("4d903ce49323131117000001").first
User.criteria.for_ids("4d903ce49323131117000001").first

longer than previous version, anyway, it works

Eric Mill

unread,
Apr 1, 2011, 2:10:14 PM4/1/11
to mon...@googlegroups.com
So I think we should be using the "2.0.0" tag, instead of the "v2.0.0" tag? "v2.0.0" shows up at the top of the tag list, but "2.0.0" has more up-to-date commits.
Reply all
Reply to author
Forward
0 new messages