Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: next
Commits on Jun 8, 2009
  1. Add Model#override, Model#override!, Model#override? see below:

    authored
      Use #override! to force overriding internal methods, or
      Model#method_added would raise ReservedError.
Commits on Jun 7, 2009
  1. @postmodern @dkubb

    Make sure to pass the block to #initialize.

    postmodern authored dkubb committed
    Signed-off-by: Dan Kubb <dan.kubb@gmail.com>
  2. @dkubb

    When building the join logic, do not use include the first link

    dkubb authored
    * 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.
  3. @dkubb

    Use Extlib::Inflections.camelize to convert the adapter name into a c…

    dkubb authored
    …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]
  4. @dkubb
  5. @dkubb
  6. @dkubb
  7. @gryn @dkubb

    Fixed stale links in documentation

    gryn authored dkubb committed
    Signed-off-by: Dan Kubb <dan.kubb@gmail.com>
  8. @dkubb
  9. @dkubb

    Renamed create_connection as open_connection

    dkubb authored
    * Matched close_connection method a bit more closely
    * Refactored with_connection to catch all exceptions, log them, and
      then propagate the exception.
  10. @dkubb
  11. @dkubb

    Added ability for :username to be specified for setup of DO adapters

    dkubb authored
    * Added specs for :database and :username options for DO adapters
    * Minor cleanup of setup specs
  12. @dkubb
Commits on Jun 4, 2009
  1. @dkubb
  2. @dkubb

    Fixed bug where many to one query would be unscoped

    dkubb authored
    [#881 state:resolved]
Commits on Jun 3, 2009
  1. @dkubb
  2. @dkubb

    Added specs for Query::Path#method_missing

    dkubb authored
    * Removed Query::Path#hash and Query::Path#inspect since the default
      methods will suffice.
  3. @dkubb
Commits on Jun 2, 2009
  1. @dkubb
  2. @dkubb

    Fixed SEL for m:m relationships

    dkubb authored
  3. @dkubb
Commits on Jun 1, 2009
  1. @dbussink

    Swap order of DEFAULT and NOT NULL since Oracle doesn't like this ord…

    dbussink authored
    …er and all other systems don't care
Commits on May 31, 2009
  1. @dkubb

    Cleaned up Query::Path

    dkubb authored
    * Simplified Query::Path.new 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
  2. @dkubb
  3. @dkubb
Commits on May 30, 2009
  1. @dkubb
  2. @dkubb
  3. @dkubb
  4. @dkubb

    Moved property related concerns in Model into DM::Model::Property

    dkubb authored
    * Moved accessor/mutator creation from DM::Property into DM::Model::Property
  5. @dkubb
  6. @dkubb
  7. @dkubb
Something went wrong with that request. Please try again.