The item.name isn't printing in the loop because you didn't put an = after <% and please change the item name to a more descriptive variable name and no need for SubscriptionModel.find(:all) you can just do SubscriptionModel.all