Use this instead:
<% t('front_page.index.description_section.items').each do |item| %>
In addition, the list of your products is not defined correctly:
t('front_page.index.description_section.items.item.title')
Use the following syntax to define an array in YAML:
items: - title: "first item" description: "a random description" - title: "second item" description: "another item description"
To verify this, you can do this on the IRB console:
h = {:items=>[{:title=>"first item", :description=>"desc1"}, {:title=>"second item", :description=>"desc2"}]} puts h.to_yaml
source share