Permalink
Switch branches/tags
Commits on Mar 30, 2010
Commits on Mar 28, 2010
  1. Version bump to 0.4.0

    elliotcm committed Mar 28, 2010
  2. Intelligently handle find queries.

    elliotcm committed Mar 28, 2010
    A query containing only an ID or ID string should not return an
    array of (guaranteed max) one object.
Commits on Mar 27, 2010
  1. Version bump to 0.3.0

    elliotcm committed Mar 27, 2010
  2. Remove ActiveModel compliance from the main library.

    elliotcm committed Mar 27, 2010
    Please see http://github.com/elliotcm/light_mongo-rails for a
    tidier way of using this with Rails 3.
  3. Version bump to 0.2.1

    elliotcm committed Mar 27, 2010
  4. Lazy initialize ActionPack Errors.

    elliotcm committed Mar 27, 2010
    An extra initializer isn't necessary, and just adds additional
    complications.
  5. Version bump to 0.2.0

    elliotcm committed Mar 27, 2010
  6. Add ActionPack-compatible error handling.

    elliotcm committed Mar 27, 2010
    This uses ActiveModel's Errors mixin, but excludes any
    validations, as there are many to choose from.
    
    Here endeth ActiveModel compliance.
  7. Add a .model_name method for ActiveModel compliance.

    elliotcm committed Mar 27, 2010
    This uses ActiveModel::Naming, which in turn requires
    ActiveModel and ActiveSupport to be present if you use the
    ActiveModelCompliance plugin.
    
    This shouldn't be a problem as if you need compliance you will
    have ActiveModel and ActiveSupport around anyway.
  8. Add a #destroyed? method for ActiveModel compliance.

    elliotcm committed Mar 27, 2010
    There is currently no useful difference
    between a new record and a destroyed record.
    
    As such, #new_record? and #destroyed? are essentially synonymous.
  9. Version bump to 0.1.0

    elliotcm committed Mar 27, 2010
  10. Add a Document#delete! method.

    elliotcm committed Mar 27, 2010
    This method removes the object from the database
    and wipes the object's document id.
  11. Add a Document#update!(params) method.

    elliotcm committed Mar 27, 2010
    This method internally updates the object's attributes,
    and saves the object, returning its id.
    
    This completes the Update section.
  12. Add a Document#update(params) method.

    elliotcm committed Mar 27, 2010
    This method internally updates the object's attributes,
    and returns the updated object.
  13. Rewrite create/read integration test.

    elliotcm committed Mar 27, 2010
    This is in preparation for full CRUD support.
Commits on Mar 21, 2010
  1. Fix up the Rakefile.

    elliotcm committed Mar 21, 2010
  2. Version bump to 0.0.1

    elliotcm committed Mar 21, 2010
  3. ensure Rakefile works without jeweler

    tooky committed with elliotcm Mar 10, 2010
    remove machine specific gitignores
  4. Version bump to 0.0.0

    tooky committed with elliotcm Mar 10, 2010
  5. Add jeweler for building gems

    tooky committed with elliotcm Mar 10, 2010
  6. Properly restore plain Ruby embedded objects.

    elliotcm committed Mar 21, 2010
    All integration tests now pass.
Commits on Mar 20, 2010
  1. Tidy persistence.

    elliotcm committed Mar 20, 2010