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 datamapper@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to