Agreed that it looks strange.  But it seems ok in IRB:

irb(main):003:0> Prize.where(:prize_provider_id => 1).count
   (0.5ms)  SELECT COUNT(*) FROM `prizes` WHERE `prizes`.`prize_provider_id` = 1
=> 10