class License
  belongs_to :customer
end

class Customer
  has n, :licenses

  property company, String
end

How can I order the licenses based on their customer.company value?
License.all(order => [:company.desc]) does not work of course.

-- 
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.

Reply via email to