On Sun, Dec 21, 2008 at 9:24 PM, Jon Hancock <[email protected]> wrote:
> So now, I'm back to the way I had it before. I have a property for > the id and I hand code accessors to look up the user by this id. I > thought what I was trying to do should be the simplest form of a > datamapper association. Why don't you use a belongs_to relation if you don't mind me asking? Because belongs_to does exactly what you need: "This I assumed would give the object/table a property/field of shell_user_id and an association to get/set the object with the shell_user accessors." -- Regards, Dirkjan Bussink --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
