Let's say I have some Player model with `wins` and `losses` attributes. How
do I retrieve players ordered by their win percent? Player.all(order:
'wins/losses') doesn't work since :order param expects explicit attribute
name and I didn't find any way to make it handle any calculations.
Regards.

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