Permalink
Commits on Apr 12, 2011
  1. Update UPGRADES

    bkeepers committed Apr 12, 2011
Commits on Apr 10, 2011
Commits on Mar 28, 2011
  1. Fix attribute type in generator

    bkeepers committed Mar 28, 2011
Commits on Mar 27, 2011
  1. Merge branch 'add_rails_model_generator' of https://github.com/cmeikl…

    …ejohn/mongomapper
    
    * 'add_rails_model_generator' of https://github.com/cmeiklejohn/mongomapper:
      Private.
      Add rails 3 model generator.
    bkeepers committed Mar 27, 2011
Commits on Mar 26, 2011
  1. Changed test database name.

    jnunemaker committed Mar 26, 2011
Commits on Mar 25, 2011
  1. Private.

    cmeiklejohn committed Mar 25, 2011
  2. Add rails 3 model generator.

    cmeiklejohn committed Mar 25, 2011
Commits on Mar 24, 2011
  1. Fix issue with dirty tracking that would cause it store every attribu…

    …te in #previous_changes when loading from the DB
    
    This should have some performance impact, especially for models with a lot of attributes.
    bkeepers committed Mar 24, 2011
Commits on Mar 21, 2011
  1. Merge branch 'master' of https://github.com/brianhempel/mongomapper

    * 'master' of https://github.com/brianhempel/mongomapper:
      Fix for Ruby 1.9 assigning associations on create (keep respond_to_missing? on association proxy)
      Test for assigning associations on create
      Fix mmconsole exploding in Ruby 1.8.7
    bkeepers committed Mar 21, 2011
  2. Remove unnecessary require

    bkeepers committed Mar 20, 2011
  3. Extend ActiveSupport::DescendantsTracker before defining keys

    Without this, calling #descendants on a class will cause it to walk the entire ObjectSpace, which was happening whenever a new model was defined. This change cut the tests from ~90 secs to ~25 secs on my machine.
    bkeepers committed Mar 20, 2011
Commits on Mar 20, 2011
  1. Fix watchr

    bkeepers committed Mar 20, 2011
  2. Use #persisted? instead of #new? internally

    ActiveModel::Lint requires the presence of #persisted?, but not #new?. This allows MM to play nicer with other ActiveModel ORMs (belongs_to should JustWork now with ActiveRecord models).
    bkeepers committed Mar 20, 2011
Commits on Mar 18, 2011
  1. Fix for Ruby 1.9 assigning associations on create (keep respond_to_mi…

    …ssing? on association proxy)
    brianhempel committed Mar 18, 2011
Commits on Mar 16, 2011
  1. Switched from hash with indifferent access to plain hash.

    Indifferent hashes seem to be pretty slow. This helps things out a bit. Using string keys for keys because they can be injected dynamically by users and thus an attack could be formed if symbols were used. Using symbols for associations.
    jnunemaker committed Mar 16, 2011
  2. Removed after_find and after_initialize callbacks.

    This removed about 30% of the time spent in finding documents. Big time improvement for something that is not worth much.
    jnunemaker committed Mar 16, 2011
Commits on Mar 8, 2011
  1. Set logger on connection to Rails.logger

    Closes #216
    bkeepers committed Mar 8, 2011
  2. Merge branch 'master' of git://github.com/collectiveidea/mongomapper

    * 'master' of git://github.com/collectiveidea/mongomapper:
      Add an :autosave association option, defaulting to true for "many" and embedded "one" associations to remain consistent with current behavior.
      Add an :autosave option for belongs_to associations.
      Add build_*, create_* and create_*! methods to belongs_to associations.
    bkeepers committed Mar 8, 2011
  3. Bump version to 0.9.0

    bkeepers committed Mar 8, 2011
  4. Revert "Deprecation warnings tell us what module is offending". This …

    …causes an error in my application.
    
    This reverts commit cc72ed0.
    bkeepers committed Mar 8, 2011
Commits on Mar 7, 2011
  1. Add an :autosave association option, defaulting to true for "many" an…

    …d embedded "one" associations to remain consistent with current behavior.
    laserlemon committed Mar 7, 2011
Commits on Feb 21, 2011
  1. Merge branch 'master' of https://github.com/brianhempel/mongomapper

    * 'master' of https://github.com/brianhempel/mongomapper:
      Deprecation warnings tell us what module is offending
    bkeepers committed Feb 21, 2011
  2. Properly handle i18n

    bkeepers committed Feb 21, 2011
Commits on Feb 18, 2011
Commits on Feb 14, 2011
  1. Deprecation warnings tell us what module is offending

    Brian Hempel committed Feb 14, 2011