fixing erb bugs thanks asset-pipeline