Permalink
Commits on Dec 20, 2009
  1. add append_extensions and append_inclusions methods so that we can ex…

    aub committed Dec 20, 2009
    …tend objects that have already included MongoMapper::Document
Commits on Dec 16, 2009
  1. Version bump to 0.6.8

    jnunemaker committed Dec 16, 2009
Commits on Dec 15, 2009
  1. If rubygems is detected then I use the gem command to lock to specifi…

    jnunemaker committed Dec 15, 2009
    …c versions. Not locking causes issues if people update their gems outside of gem install. If there is a better way, plz enlighten me.
  2. Associations were sharing one instance variable among all inherited c…

    jnunemaker committed Dec 15, 2009
    …lasses. Now just propagating associations when inherited so associations are only shared down the inheritance trail and not back up.
Commits on Dec 14, 2009
  1. Fixed obscure reload bug where single collection inherited classes th…

    jnunemaker committed Dec 14, 2009
    …at didn't have associations defined in subclasses bombed when reloading.
Commits on Dec 13, 2009
  1. Version bump to 0.6.7

    jnunemaker committed Dec 13, 2009
  2. Reload works more predictably. Instead of just returning found doc fr…

    jnunemaker committed Dec 13, 2009
    …om database, it actually sets all the values, resets assocations and returns self.
    
    This means now instead of having to do this:
    
    doc = Foo.create(:name => 'Bar')
    doc.name = 'Bazwick'
    doc = doc.reload
    doc.name # 'Bar'
    
    You can now do this:
    
    doc = Foo.create(:name => 'Bar')
    doc.name = 'Bazwick'
    doc.reload
    doc.name # 'Bar'
Commits on Dec 9, 2009
  1. validates_uniqueness_of with :case_sensitive => false should not rais…

    bkeepers committed Dec 9, 2009
    …e an error if the value is nil
Commits on Dec 5, 2009
  1. Version bump to 0.6.6

    jnunemaker committed Dec 5, 2009
  2. Created at is now only set if it is blank. Allows for setting created…

    jnunemaker committed Dec 5, 2009
    …_at when migrating data and such. (michaeldwan)
Commits on Dec 4, 2009
  1. Fixed to_json.

    orderedlist committed Dec 4, 2009
Commits on Dec 1, 2009
  1. Version bump to 0.6.5

    jnunemaker committed Dec 1, 2009
Commits on Nov 24, 2009
  1. Version bump to 0.6.4

    jnunemaker committed Nov 24, 2009
  2. Version bump to 0.6.3

    jnunemaker committed Nov 24, 2009
  3. API CHANGE: id now just returns _id, not the string representation of…

    jnunemaker committed Nov 24, 2009
    … _id. to_param returns the string version of the id so urls work correctly.