Fixed warning by prefixing variables with @ in erb templates.