Fix scaffold tag bug

Fixes #171 
this is a nit but since we are not actually using the return value of the loop there is no need for map, instead we can use .each