hi, i have a noob question. how do i create a table but add additional
fields? for example..
i have a total_table of total, county, and town where total_table
inherites county_id and town_id from my town_county table where
county_id has_many towns. in my view, id like to go through the hash
like this
table total_table
for total_table.county
{
print total_table.county
print total_table.county.total
for total_table.town
{
print total_table.county.town
print total_table. county.town.total
}
}
basically i have doctor types and id like to print out the total number
of doctor types that are located in each county and town.
thanks for any help.
--
Posted via http://www.ruby-forum.com/.