Displaying select value and debugging RoR application

Folks,

I am running into the following problem.

I have a company model that has_many addresses and address belongs_to
company (it also belongs to a User model but I assume that is irrelevant
to
this issue). I am in the list_companies view of the company_controller.
When
the user selects a company from the drop down I dynamically update the
cities dropdown for the cities that the selected company has offices in
using an onchange handler and remote_function call. However the problem
is
that I can’t seem to get the city names displayed 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 missing something simple and obvious but perhaps I have
been looking at it too long.

On a related note, I am using RadRails which doesn’t currently support
debugging and I have had to debug through log statements which takes a
lot
of time. Is there any better tool out there that can help with debugging
and
speed up development?

TIA,

Sanjay.