On Aug 25, 9:41 am, Maz <[EMAIL PROTECTED]> wrote:
> class TaxonomicUnit < Sequel::Model
>   self.db = ITISDB
>   set_primary_key :tsn
>   many_to_one :parent, :key => :parent_tsn
>   one_to_many :children, :classname => TaxonomicUnit, :key
> => :parent_tsn
> end

I think you just need to change :classname to :class and things might
work.  In your working example you typed things correctly, which is
probably why you didn't get the error.

Hope this helps,
Brad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to