Permalink
Commits on Jan 23, 2010
  1. Version bump to 1.1.2

    durran committed Jan 23, 2010
  2. Version bump to 1.1.1

    durran committed Jan 23, 2010
  3. Updating empty specs on has many

    durran committed Jan 23, 2010
Commits on Jan 22, 2010
  1. Mongoid always persists in safe mode unless configuration changed

    Dave Ott and Durran Jordan committed with durran Jan 22, 2010
  2. Adding persist_in_safe_mode configuration option

    Dave Ott and Durran Jordan committed with durran Jan 22, 2010
  3. Document#delete and Document#destroy on embedded docs properly persis…

    …ts parent
    Dave Ott and Durran Jordan committed with durran Jan 22, 2010
Commits on Jan 21, 2010
  1. Document.create raises validations error, not no method error on self…

    ….errors (Rick Frankel)
    durran committed Jan 21, 2010
  2. Version bump to 1.1.0

    durran committed Jan 21, 2010
  3. Updating readme

    durran committed Jan 21, 2010
  4. Setting blank numbers returns nil

    durran committed Jan 21, 2010
  5. ruby 1.9 compat: collect without a block behaves differently (returns…

    … enumerator)
    brainopia committed Jan 21, 2010
Commits on Jan 20, 2010
  1. Criteria now uses the appropriate context, dependant on the klass lev…

    …el in the hierarchy
    durran committed Jan 20, 2010
Commits on Jan 18, 2010
Commits on Jan 17, 2010
  1. Performance updates:

    - Removing the evil HashWithIndifferentAccess all over
    - Before/After update callbacks dont occur on write_attribute
    - Only notify when id has been set
    durran committed Jan 17, 2010
Commits on Jan 16, 2010
  1. Adding Matcher#first

    durran committed Jan 16, 2010
Commits on Jan 15, 2010
  1. ruby 1.9 compat: Date._parse uses another format of date

    Fixes following spec:
    Mongoid::Extensions::Date::Conversions#set when string provided when string is a date returns a time from the string
    brainopia committed with durran Jan 14, 2010
  2. ruby 1.9 compat: splat logic changed so we need to simulate 1.8 behavior

    This fixes following spec:
    Mongoid::Attributes#method_missing when an attribute exists allows the setter
    brainopia committed with durran Jan 14, 2010
  3. ruby 1.9 compat: temporal solution - remove size method from Symbol s…

    …o :aliases.size works
    
    Fixes following specs:
    Mongoid::Criteria#where with complex criterion#size returns those matching a size clause
    Mongoid::Criteria#where when provided a hash with complex criterion#size returns those matching a size clause
    brainopia committed with durran Jan 14, 2010
  4. ruby 1.9 compat: collect without a block returns Enumerator so we use…

    … entries for array
    
    This commit fixes following specs under ruby 1.9:
    Mongoid::Associations one-to-many relational associations when building sets the reverse association
    Mongoid::Document executing criteria with date comparisons handling specific dates handles false comparisons in a date range
    Mongoid::Criteria#[] when the criteria has not been executed executes the criteria and returns the element at the index
    Mongoid::Criteria#collect filtering filters out unused params
    Mongoid::Criteria#collect when type is :all adds the count instance variable
    Mongoid::Criteria#collect when type is not :first calls find on the collection with the selector and options
    brainopia committed with durran Jan 14, 2010
  5. ruby 1.9 compat: to re-open existing class we need to specify its exp…

    …licit name
    brainopia committed with durran Jan 14, 2010