Do you need to dynamically change one select menu based on the value of another? Here I show how to filter states/provinces by a selected country using grouped options and a dab of CoffeeScript.
This is a revised episode, see the original episode.
Subscribe to RailsCasts Pro to access this episode and other pro and revised episodes. Only $9 per month.