This is a demonstration how to implement cascading selects on the complex forms. This is a case when you select one item and it should influence changing to the related select. For example on the creation events form I want to see 2 selects: country and state, when I choose country then states of this country should be populated to the state drop-down.
git clone [email protected]:railsguides/dynamic-selectable-demo.git
cd dynamic-selectable-demo
bundle install
rake db:migrate
rake db:fixtures:load
rails s
And the go to http://localhost:3000