On Thu, Sep 18, 2008 at 5:19 PM, Abdul-Rahman Advany <[EMAIL PROTECTED]> wrote: > > How do I extend a association? In AR you can do things like > has_many :bla do something; end
You should just be able to define a method on the associated class. Here's an example: http://pastie.org/275431. Bernerd --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
