Use javascript. http://railscasts.com/episodes/88-dynamic-select-menus
On Tue, Feb 3, 2009 at 6:46 PM, Rafael <[email protected]> wrote: > > Hi, > > How can i make a dynamic select? Suppose i have 3 models Country, > State and City. > City belongs_to State and State belongs_to Country. > Then i have a model that belongs_to the 3 models above. > What i want to do is when i select a country it updates the State > select with states from that country, > then i select a State and it updates the city select with cities from > that State. > Any ideas? examples? > > Thanks, > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
