Commits on Jun 8, 2009
  1. Add Model#override, Model#override!, Model#override? see below:

      Use #override! to force overriding internal methods, or
      Model#method_added would raise ReservedError.
    committed Jun 8, 2009
Commits on Jun 7, 2009
  1. Make sure to pass the block to #initialize.

    Signed-off-by: Dan Kubb <>
    postmodern committed with dkubb Jun 6, 2009
  2. When building the join logic, do not use include the first link

    * This adds an unecessary join to the statement, and can also cause some
      aliasing issues in self referrential joins.  The aliasing problem will
      still need to be resolved for very complex joins, but this makes the
      joins for m:m associations more efficient in the meantime.
    dkubb committed Jun 7, 2009
  3. Use Extlib::Inflections.camelize to convert the adapter name into a c…

    …lass name
    * Extlib::Inflections.classify singularizes the adaper name, which can
      incorrectly strip a trailing "s" from the adapter name, eg: redis => Redi
    [#890 state:resolved]
    dkubb committed Jun 7, 2009
  4. Fixed stale links in documentation

    Signed-off-by: Dan Kubb <>
    gryn committed with dkubb Jun 7, 2009
  5. Renamed create_connection as open_connection

    * Matched close_connection method a bit more closely
    * Refactored with_connection to catch all exceptions, log them, and
      then propagate the exception.
    dkubb committed Jun 7, 2009
  6. Added ability for :username to be specified for setup of DO adapters

    * Added specs for :database and :username options for DO adapters
    * Minor cleanup of setup specs
    dkubb committed Jun 7, 2009
Commits on Jun 4, 2009
  1. Fixed bug where many to one query would be unscoped

    [#881 state:resolved]
    dkubb committed Jun 4, 2009
Commits on Jun 3, 2009
  1. Added specs for Query::Path#method_missing

    * Removed Query::Path#hash and Query::Path#inspect since the default
      methods will suffice.
    dkubb committed Jun 3, 2009
Commits on Jun 2, 2009
  1. Fixed SEL for m:m relationships

    dkubb committed Jun 2, 2009
Commits on Jun 1, 2009
  1. Swap order of DEFAULT and NOT NULL since Oracle doesn't like this ord…

    …er and all other systems don't care
    dbussink committed Jun 1, 2009
Commits on May 31, 2009
  1. Cleaned up Query::Path

    * Simplified constructor to accept less arguments, since
      most of it's state can be inferred from the relationships provided.
    * Updated Query::Path to be more of a proxy object, removing some of
      the methods it inherits from Object
    * Added TODO notes to make sure Model#respond_to? matches what
      Model#method_missing can respond to
    dkubb committed May 31, 2009
Commits on May 30, 2009
  1. Moved property related concerns in Model into DM::Model::Property

    * Moved accessor/mutator creation from DM::Property into DM::Model::Property
    dkubb committed May 30, 2009