Am Dienstag 05 April 2005 22:04 schrieb itsme213:
> "George Moschovitis" <george.moschovitis / gmail.com> wrote
>
> > > What does this do to the tables? Can Comment include 'Orderable'
>
> multiple
>
> > > times with different :scopes? How about ordering on either end of N-M
> > > relations?
> >
> > this adds columns to the tables. A parametrized mixin can be included
> > multiple times with different parameters.
>
> Does it allow duck-typing?
>
> class Posting
>
>    # response can be Approval or Disapproval
>    # no inheritance relation require
>
>    has_many :responses, [Approval, Disapproval]
>
>    include Orderable, :scope => responses
>
> end

Yeah, *please* add duck typing!

Regards,

  Michael