Permalink
Commits on Aug 8, 2011
  1. Bump to 2.1.7

    durran committed Aug 8, 2011
  2. Bumping to 2.1.6

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

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

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

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

    durran committed Aug 5, 2011
    …n_key
    
    Metadata #inverse_foreign_key returns a demodulized class foreign_key if inverse_of is not set;
  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:

    durran committed Aug 5, 2011
    - 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.
Commits on Aug 4, 2011
  1. Atomic modifications should never contain a $set on _id:

    durran committed Aug 4, 2011
    - 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.
  2. Metadata #inverse_foreign_key returns a demodulized class foreign_key…

    hookercookerman committed Aug 4, 2011
    … 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"
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:

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