Hi all.
I'm trying to do something like this:
class Account
include DataMapper::Resource
has n, :posts
end
class Post
include DataMapper::Resource
belongs_to :account
end
Post.all(:order => ["account.name"])
Thanks.
--
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.