Displaying 1 result from an estimated 1 matches for "all_cities".
Did you mean:
add_cities
2006 Jul 29
0
displaying select value and debugging RoR application
...played in the modified dropdown
that comes up - though the number of entries in that are correct. It is
displaying the object ids of Address objects - something like
#<Address:0x395f870>. The select code is as below in a partial
<%= select_tag(*:company_address_city*, options_for_select(*@all_cities)*)
%>
I believe I have to do something with ":*:company_address_city" *to make the
city name visible but I don''t know what - I have tried all combinations of
company, address and city (the field name in addresses table) but doesn''t
seem to work.
Sounds like I am mis...