Hullo. Welcome to my question.
In my controller I need to get the number of items in a table.
If I was just using MySQL, I’d do “select count(*) from blah where blah
What is the way to do this in my controller? I’d like to avoid
something like Blah.find(:all, :conditions => blah blah).size
Is there a way to do the equivalent of select count(*) in the