Permalink
Commits on Oct 5, 2009
  1. @jnunemaker
  2. @jnunemaker

    Version bump to 0.4.2

    jnunemaker committed Oct 5, 2009
  3. @jnunemaker

    String#from_mongo now returns emtpy string if given value of empty st…

    …ring. Works just like String#to_mongo.
    jnunemaker committed Oct 5, 2009
  4. @jnunemaker
Commits on Oct 4, 2009
  1. @jnunemaker
  2. @jnunemaker

    Version bump to 0.4.1

    jnunemaker committed Oct 4, 2009
  3. @jnunemaker
  4. @jnunemaker
  5. @jnunemaker

    Allow defining per_page class method to set pagination on document ju…

    …st like will paginate. (leshill)
    jnunemaker committed Oct 4, 2009
  6. @jnunemaker
  7. @jnunemaker
  8. @jnunemaker

    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
  9. @jnunemaker
  10. @jnunemaker
Commits on Oct 3, 2009
  1. @jnunemaker
  2. @jnunemaker

    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
  3. @jnunemaker
  4. @jnunemaker
  5. @jnunemaker
  6. @jnunemaker
Commits on Oct 2, 2009
  1. @jnunemaker
  2. @jnunemaker

    Version bump to 0.4.0

    jnunemaker committed Oct 2, 2009
  3. @jnunemaker

    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
  4. @jnunemaker
  5. @jnunemaker

    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
  6. @jnunemaker

    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
  7. @jnunemaker

    FIX : Documents that inherit from another document don't inherit the …

    …parent's class associations (pointcom)
    jnunemaker committed Oct 2, 2009
  8. @jnunemaker
  9. @jnunemaker

    Minor: style changes.

    jnunemaker committed Oct 2, 2009
  10. @jnunemaker

    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
  11. @jnunemaker
  12. @sandro @jnunemaker
  13. @sandro @jnunemaker
  14. @jnunemaker

    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
  15. @jnunemaker

    validate_uniqueness_of has scope option

    Durran Jordan and Sandro Turriate committed with jnunemaker Sep 22, 2009