On Tue, Jun 2, 2009 at 10:56 PM, Timur Abishev <[email protected]> wrote: > > One more question: > If I have created_at field in Item and want to get items in created_at > order how it do?
Sorry I probably did not get what you were asking about. If Session is a shopping cart and you want all products from that the card created at moment M, you'd use Session.first(:create_at => m).items -- 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 -~----------~----~----~----~------~----~------~--~---
