Candy is a lightweight ORM for the MongoDB database. If MongoMapper is Rails, Candy is Sinatra. It provides a module you mix into any class, enabling the class to connect to Mongo on its own and push its objects into a collection. Candied objects act like OpenStructs, allowing attributes to be defined and updated in Mongo immediately without having to be declared in the class. Mongo's atomic operators are used whenever possible, and a smart serializer (Candy::Wrapper) converts almost any object for assignment to any attribute.

Required Ruby Version

None

Authors

Stephen Eley

Versions

  1. 0.2.10 June 10, 2010 (36 KB)
  2. 0.2.9 May 14, 2010 (35.5 KB)
  3. 0.2.8 May 13, 2010 (34.5 KB)
  4. 0.2.7 May 05, 2010 (34 KB)
  5. 0.2.6 May 04, 2010 (33.5 KB)
  6. 0.1.0 February 16, 2010 (16.5 KB)
Show all versions (14 total)

SHA 256 checksum