U can do freak.findbystatus and pass in freaky as status
Freak.count(:conditions=>[:status=>'freaky']) should do it
more generic - but more sql-dialect-specific
Freak.connection.select_one("SELECT count(*) FROM freaks WHERE status='freaky' ")
should give you atomic precision.
P
Why has google groups no 'Ruby-syntax-check ?
Freak.count(:conditions => { :status=>'freaky' } )
was what I wanted to write