count of child model in Model.find

Sounds like you might want a counter_cache option on the belongs_to :user in your Order model

http://www.railsbrain.com/api/rails-2.3.2/doc/index.html?a=M001887&name=belongs_to

-Rob

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