Sergey, I have a list of about 7 or 8 things I want to do in remixables and that is one of them, Im jsut currently death marching on a hardcore deadline and haven't had much time for opensource love.
On Dec 4, 1:24 pm, Sergey Molodtsoff <[EMAIL PROTECTED]> wrote: > Hello, all > > +remix+ method accept option +:as+ to create accessor for remixable > module. It's done by special method +attach_accessor+ in dm-is- > remixable. > > Would it be right to use accessor everywhere in remixed model instead > of cludge named relation? > > For example: > class Album > remix n, :images, :as => "pics" > end > > There would be no album.album_images, just album.pics with all the > methods of album_images. > > Regards, > Sergey. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
