On 01.02.2009, at 1:49, Bryan wrote:
> OR have a FeedIten model that has a yaml property that contains the > data related to that feed item: > > class FeedItem > include DataMapper::Resource > property :user_id, Integer #user who performed the action > property :feed_item_class, Class > property :feed_item_id, Integer > property :data, Yaml > end This is "poor man's document database on top of relational database" and works nicely for cases like activities where objects may be of 10, 20 and more types, thus schema gets in your way. So I'd recommend that. MK --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
