find :select sort on calculated value

Yes, almost exactly like that:

Post.find(:all, :order => 'post_value/post_count')

-Rob

Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com