Permalink
Commits on Apr 19, 2011
Commits on Apr 18, 2011
Commits on Apr 14, 2011
  1. Merge branch 'master' of https://github.com/hamin/mongomapper

    * 'master' of https://github.com/hamin/mongomapper:
      fixed typo in push_all modifier test
      added push_all and pull_all modifiers to documents
      Ignoring jekyll cached site dir.
      Added read performance script that brandon and I used to speed things up. Here for historical purposes.
    bkeepers committed Apr 14, 2011
  2. Update Gemfile.lock

    bkeepers committed Apr 14, 2011
Commits on Apr 12, 2011
  1. Added read performance script that brandon and I used to speed things…

    … up. Here for historical purposes.
    jnunemaker committed Apr 12, 2011
  2. 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