Changed the hash to an empty one in attributes, assigned value in template erb.