Displaying 1 result from an estimated 1 matches for "_counties_".
2006 May 31
7
Getting 22 elements
...untry.each do |country| %>
<h1><%= country.name %></h1>
<% country.cities.each do |city| %>
- <%= link_to city.name, :action => "city/view", :id => city.id
%></li>
<% end %>
<% end %>
===
I have over 200 _counties_. How can I print counties #0-22, counties
#23-44 etc (with cities inside).
Thanks.
--
Posted via http://www.ruby-forum.com/.