Commits on Feb 10, 2010
Commits on Feb 9, 2010
Commits on Feb 5, 2010
Commits on Feb 4, 2010
  1. Renamed find_or_create to first_or_create which is more accurate. Add…

    jnunemaker committed Feb 4, 2010
    …ed first_or_new. Tweaked destroy_all to use find_each.
  2. Private change: Renamed assign_root_document to assign_references as …

    jnunemaker committed Feb 4, 2010
    …it has more than one responsibility now.
Commits on Jan 29, 2010
Commits on Jan 28, 2010
  1. Updated to mongo 0.18.3. Overwrote Mongo::ObjectID#to_json to be more…

    jnunemaker committed Jan 28, 2010
    … friendly for most people and aliased ruby driver to original_to_json.
  2. Added :protected shortcut to key definition. Also added tests to make…

    jnunemaker committed Jan 28, 2010
    … sure the SCI works fine with protected attributes.
  3. Change key validation shortcut :within to :in, and add test to ensure…

    chanks committed with jnunemaker Jan 23, 2010
    … it works on embedded documents.
Commits on Jan 24, 2010
  1. save! now takes options so you can pass safe in. Might switch the ! m…

    jnunemaker committed Jan 24, 2010
    …ethods (create!, save! etc.) to just have :safe on by default. Fixes #166.
Commits on Jan 23, 2010
  1. Added configure to plugins. This allows you to modify the model addin…

    jnunemaker committed Jan 23, 2010
    …g the plugin without needed to do an included hook in InstanceMethods.