mongomatic
mongomatic copied to clipboard
Mongomatic is a simple Ruby object mapper for Mongo.
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...
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...