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…

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

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

    …_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.
    jnunemaker committed Oct 3, 2009
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…

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

    …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!
    jnunemaker committed Oct 2, 2009
  4. Merge branch 'custom_types' of git://github.com/pietern/mongomapper i…

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

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

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

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

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

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

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

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

    …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
    jnunemaker committed Oct 2, 2009