Permalink
Commits on Jun 16, 2010
  1. Release 0.8.0.

    jnunemaker committed Jun 16, 2010
    Highlights:
    
      * Sexy query language ie: Foo.where(...).sort(...).limit(...)
      * Scopes. ie: scope :published, lambda { where(:published_at.lte => Time.now.utc) }
      * Accessible plugin that works like attr_accessible in Rails.
      * Cache key method to make caching easier.
      * Plucky and Ruby driver upgrades
      * New option :typecast for Array keys ie: key :user_ids, Array, :typecast => 'ObjectId'
      * Far more obvious about core extensions. Now live in lib/mongo_mapper/extensions and are included in ancestors instead of just opening core classes.
      * Added an UPGRADES file which will denote backwards compat breaking from now on.
      * A bajillion little bug fixes and improvements.
  2. Minor: whitespace.

    jnunemaker committed Jun 16, 2010
Commits on Jun 15, 2010
  1. Scopes now work with queries and are inherited. (ie: scope :johns, wh…

    jnunemaker committed Jun 15, 2010
    …ere(:name => 'John'))
  2. Minor: test clarity

    jnunemaker committed Jun 15, 2010
  3. Slight change in Query method missing stuff. Feel like this is easier…

    jnunemaker committed Jun 15, 2010
    … to read than the nested ifs.
  4. Added scope chaining.

    jnunemaker committed Jun 15, 2010
  5. Removing why's metaid object stuff and switching to new standards tha…

    jnunemaker committed Jun 15, 2010
    …t are in 1.9.2 and active support 3.
  6. Fixed issue with cloning documents that have embedded documents. #att…

    jnunemaker committed Jun 15, 2010
    …ributes does not only return keys, it also returns embedded docs so instead of using []= which assumes key, I'm just setting all attributes.
Commits on Jun 14, 2010
  1. Boolean.from_mongo should return nil for nil value. Fixed test which …

    conceptsahead committed with jnunemaker Jun 14, 2010
    …succeeded because it was using to_mongo.
Commits on Jun 6, 2010
  1. Added a plugin example.

    jnunemaker committed Jun 6, 2010
Commits on May 31, 2010
  1. Minor: whitespace.

    jnunemaker committed May 31, 2010
  2. Minor: formatting.

    jnunemaker committed May 31, 2010
  3. Moved clone tests to their own file. Now using initialize_copy instea…

    jnunemaker committed May 31, 2010
    …d of defining clone to be more rubyish.
  4. Bump plucky requirement.

    jnunemaker committed May 31, 2010
  5. Update plucky dependency.

    jnunemaker committed May 31, 2010
Commits on May 29, 2010