Permalink
Commits on Nov 15, 2009
  1. Version bump to 0.6.0

    jnunemaker committed Nov 15, 2009
  2. add human_name support for rails compatibility

    Seth Ladd committed with jnunemaker Nov 13, 2009
  3. Adding string id compatibility examples/tests so people know how to m…

    …ake MM work with their old string ids.
    jnunemaker committed Nov 15, 2009
  4. Added tests for using_object_id?. Added MongoMapper.normalize_object_…

    …id. Added tests for assigning id that is of type object id.
    jnunemaker committed Nov 15, 2009
  5. Added tests for custom ids back in. All you have to do is redefine _i…

    …d key to String or whatever.
    
    class Foo
      include MongoMapper::Document
      key :_id, String
    end
    
    foo = Foo.create(:id => '1234')
    foo.id # '1234'
    jnunemaker committed Nov 15, 2009
  6. Keys are now redefinable. This allows me to default _id to ObjectId b…

    …ut allow you to change it.
    jnunemaker committed Nov 15, 2009
  7. Moved custom types to module. Added const missing lookup to find them…

    … without having to type out modules. Added ObjectId which is shorter to use than Mongo::ObjectID.
    jnunemaker committed Nov 15, 2009
  8. Completely converted from String _ids to Mongo::ObjectID _ids. Still …

    …some failing tests for custom ids which are next.
    jnunemaker committed Nov 15, 2009
Commits on Nov 9, 2009
  1. Minor: formatting.

    jnunemaker committed Nov 9, 2009
  2. Lowered time cop dependency version as 0.3.2 doesn't seem to be out t…

    …here and minor changes to document save and save!
    jnunemaker committed Nov 9, 2009
  3. Ruby 1.9 compatibility: fixed a method that used const_defined? and c…

    …onst_get, whose behaviors have changed in 1.9
    jpbougie committed with jnunemaker Nov 6, 2009
  4. late night bad commit

    jpbougie committed with jnunemaker Nov 6, 2009
  5. Ruby 1.9 compatibility fix: #methods and #instance_methods now return…

    … an array of symbols instead of an array of strings, which created a problem looking up a method name that had been turned into a string
    jpbougie committed with jnunemaker Nov 6, 2009
  6. Use String#lines to make a string into an array if that method is ava…

    …ilable. Fixes a compatibility break in ruby 1.9
    jpbougie committed with jnunemaker Nov 6, 2009
  7. Fix pagination when the conditions option is used

    Signed-off-by: Jorge H. Cuadrado <kuadrosxx@gmail.com>
    kuadrosx committed with jnunemaker Nov 6, 2009
Commits on Nov 4, 2009
Commits on Nov 1, 2009
  1. Minor: formatting.

    jnunemaker committed Nov 1, 2009
  2. Moved validates inclusion and exclusion of to validatable and increme…

    …mted validatable version.
    jnunemaker committed Nov 1, 2009
  3. API CHANGE: To set database for document you must now use set_databas…

    …e_name 'foo' instead. Also, I removed all memoization of database and collection info as it was cuasing issues for some people.
    jnunemaker committed Nov 1, 2009