Displaying 1 result from an estimated 1 matches for "person_state_id".
Did you mean:
perfmon_state_id
2006 Mar 18
10
collection_select''s linked
...list when to select a new country.
How I can make this in Rails?
Thanks
Eleudson
Brazil
<p><label for="person_country_id">Country</label><br/>
<%= collection_select(:person, :country_id, @countries, :id, :name)
%></p>
<p><label for="person_state_id">State</label><br/>
<%= collection_select(:person, :country_id, @states, :id, :name) %></p>
--
Posted via http://www.ruby-forum.com/.