Permalink
Commits on Oct 4, 2009
  1. Version bump to 0.4.1

    jnunemaker committed Oct 4, 2009
  2. Allow defining per_page class method to set pagination on document ju…

    jnunemaker committed Oct 4, 2009
    …st like will paginate. (leshill)
  3. Moved custom matchers into their own file and out of test helper. Als…

    jnunemaker committed Oct 4, 2009
    …o using collection.clear instead of delete_all to clean the collections.
Commits on Oct 3, 2009
  1. API CHANGE: To change a document's collection, you should now use set…

    jnunemaker committed Oct 3, 2009
    …_collection_name instead of collection. Collection now lazy loads from collection name to make another step towards loading things in a more sane way in rails.
Commits on Oct 2, 2009
  1. Version bump to 0.4.0

    jnunemaker committed Oct 2, 2009
  2. Added embedded document new? method back in. Not perfect but I have a…

    jnunemaker committed Oct 2, 2009
    … plan and it is good enough for now.
  3. Completed the transition to to_mongo/from_mongo from all the typecast…

    jnunemaker committed Oct 2, 2009
    …ing stuff. This means now you can use any famdamily class you want as a type as long as you define to_mongo/from_mongo class methods for it.
    
    Switched all the native types to use to_mongo/from_mongo which makes things a lot cleaner I think.
    
    Added Binary type for easily serializing files under 4MB into documents with no effort. Yay!
  4. Merge branch 'custom_types' of git://github.com/pietern/mongomapper i…

    jnunemaker committed Oct 2, 2009
    …nto pietern/custom_types
    
    Conflicts:
    	lib/mongomapper/key.rb
  5. FIX : Documents that inherit from another document don't inherit the …

    jnunemaker committed Oct 2, 2009
    …parent's class associations (pointcom)
  6. Minor: style changes.

    jnunemaker committed Oct 2, 2009
  7. Removed array serializing. I have a different idea for that.

    jnunemaker committed Oct 2, 2009
    Changed embedded document new_record? to new? and aliased it in rails compat module.
  8. Serialize arbitrary object within an Array key

    Dave Ott and Sandro Turriate authored and jnunemaker committed Sep 29, 2009
    store and retrieve instances of Thing:
    class Example
      include MongoMapper::Document
      key :things, Array, :serialize => Thing
    end
    
    example.things << Thing.new
  9. validate_uniqueness_of has scope option

    Durran Jordan and Sandro Turriate authored and jnunemaker committed Sep 22, 2009
  10. Support Date keys for Embedded Documents

    jnunemaker committed Oct 2, 2009
    Conflicts:
    
    	test/unit/test_embedded_document.rb
  11. Adding parent reference to child embedded docs

    jnunemaker committed Oct 2, 2009
    Conflicts:
    
    	VERSION
    	mongomapper.gemspec
  12. added features to make embedded document collections compatible with …

    jnunemaker committed Oct 2, 2009
    …Rails resource_controller nested routes and normal ActiveRecord association_proxy behavior. added
    
    a reference to parent doc named based on the parent class
    
    Conflicts:
    
    	test/functional/associations/test_many_embedded_proxy.rb