<%= code %> , you have to add a space before the subscription.name nor after it.