Hey guys,I love MongoMapper, but as a new Ruby user I'm finding it challenging to find information regarding proper configuration/setup. I'm not interested in using Rails, so I'm looking for documentation on how to get started without Rails. I've tried digesting the source code on GitHub, but this is about as fun as trying to shave with a butter knife =)If anyone can help me out with the following it would be greatly appreciated:1) What files are required/recommended for configuration (database.yml, mongo.yml, mongo_mapper.yml, etc.) and where should those files be located?2) Now that :index is deprecated for keys, what is the best practice for creating indexes (i.e. Rake, class method in the model, db/indexes.rb -- where/how does this get loaded? etc.)?
3) What are all the ways to create/delete documents (i.e. new, create, create!, save, save!, delete, destroy, etc.) and what are the pre/post conditions of each method? I understand most of these already but if I can get the definitive documentation on this then that would great.
4) I've started using the documentation on Yard, but there don't seem to be any documentation for any of the methods. Is there a better place to find this information?
I started some doc updates for configuring MongoMapper...~75% complete. Should probably finish those...
Brian
jon blog: http://technicaldebt.com twitter: http://twitter.com/JonKernPA