Example rails app demonstrating performance bug in active record