Hey, i would like to customize a bidirectional association like in the following example:
The following works like expected: class Photo include DataMapper::Resource property :id, Serial has n, :photos belongs_to :photo end p = Photo.new p1 = p.photos.new p.photos.first.photo <- works like expected but how can i change the names of the attributes :photos and photo without destroying p.photos.first.photo ? Thanks, Sebastian
-- You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to datamap...@googlegroups.com. To unsubscribe from this group, send email to datamapper+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.