sql help...getting user with the most recipes from table?

You might want to implement counter_cache to store these values instead of calculating them each time. See Ruby on Rails — A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern..