<% 1.upto(40) do |num| %> <%="address#{num}:" %> id: <%= num %> user_id: <%= num %> name: <%= "Chicago Branch Office #{num}" %> line_1: "3344 Airport Road" line_2: "Suite 122" city: "Chicago" state_id: 15 province_region: "Cook County" zip_postal_code: "43554" country_id: 2 <% end %>