Permalink
Commits on Aug 8, 2011
  1. Bumping to 2.1.6

    durran committed Aug 8, 2011
Commits on Aug 7, 2011
  1. Fixing access via setters to all relations:

    - Simplified the setter access to relations in order to ensure reloading
      would not break relation access anymore.
    - Fixes #656.
    durran committed Aug 7, 2011
  2. Merge branch 'master' of https://github.com/davekrupinski/mongoid int…

    …o davekrupinski-master
    durran committed Aug 7, 2011
Commits on Aug 6, 2011
  1. Add testing showing accessing a HABTM collection causing .update_inve…

    …rse_keys to try and operate on a change state of nil
    davekrupinski committed Aug 6, 2011
Commits on Aug 5, 2011
  1. Merge pull request #1118 from hookercookerman/metadata_inverse_foreig…

    …n_key
    
    Metadata #inverse_foreign_key returns a demodulized class foreign_key if inverse_of is not set;
    durran committed Aug 5, 2011
  2. Updating changelog

    durran committed Aug 5, 2011
  3. Bumping to 2.1.5

    durran committed Aug 5, 2011
  4. Remove the print

    durran committed Aug 5, 2011
  5. Don't memoize the relation type information on the document:

    - Documents can commonly have multiple relations on them of differing
      types and the metadata is constantly being switched out depending on
      the relation being used in the current operation. The documents need
      to handle this.
    
    - Fixes #1110.
    - Fixes #1115.
    durran committed Aug 5, 2011
Commits on Aug 4, 2011
  1. Atomic modifications should never contain a $set on _id:

    - This will always result in a Assertion: 10148:Mod on _id not allowed
      in MongoDB. Mongoid now ignores these when asking for the $set
      modifiers.
    
    - Fixes #1111.
    - Fixes #1098.
    durran committed Aug 4, 2011
  2. Metadata #inverse_foreign_key returns a demodulized class foreign_key…

    … for when
    
    inverse_of is not set;
    
    Fix Bug where ManytoMany relation using namespace classes will not bind
    corrrectly; why because bind_one uses metadata.inverse_foreign_key which
    will generated inverse_foreign_keys like "fruit/apple_ids"
    hookercookerman committed Aug 4, 2011
Commits on Aug 3, 2011
  1. Updating changelog

    durran committed Aug 3, 2011
  2. Use generic 1.9.2

    durran committed Aug 3, 2011
  3. Many to many #clear no longer deletes documents:

    - This simply nullifies the relation to be consistent with AR behaviour.
    - For previous behaviour of #clear, please use #purge.
    - Fixes #988.
    durran committed Aug 3, 2011
Commits on Aug 2, 2011