mongomatic icon indicating copy to clipboard operation
mongomatic copied to clipboard

Mongomatic is a simple Ruby object mapper for Mongo.

Results 3 mongomatic issues
Sort by recently updated
recently updated
newest added

Right now you have to do subject { object.doc } its([:created_at]) { should be_a(Time) } we should add support for object to respond to method calls [:...] for rspec's sake

If I use Mongomatic classes within submodules, observers don't seem to work. With the example below, if I try to do a Bob::Person.new, I receive a `NameError: wrong constant name...

needs_confirmation

Hello, I just noticed (thanks to my growing base!) that for a given Item < Mongomatic::Base, Item.count will take a long time (37 seconds in my example). After browsing the...

accepted