…ejohn/mongomapper * 'add_rails_model_generator' of https://github.com/cmeiklejohn/mongomapper: Private. Add rails 3 model generator.
…te in #previous_changes when loading from the DB This should have some performance impact, especially for models with a lot of attributes.
* '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
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.
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).
…ssing? on association proxy)
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.
This removed about 30% of the time spent in finding documents. Big time improvement for something that is not worth much.
* '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.
…causes an error in my application. This reverts commit cc72ed0.
…d embedded "one" associations to remain consistent with current behavior.
* 'master' of https://github.com/brianhempel/mongomapper: Deprecation warnings tell us what module is offending