https://gist.github.com/1168333 for the entire code..
Essentially I'm trying to make it so I don't get N+1 queries when accessing the belongs_to relationship from ForumReplies. Any idea on how to do this / a good workaround? -- 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.
