RailsCasts Pro episodes are now free!

Learn more or hide this

Justin Craig-Kuhn's Profile

GitHub User: jcraigk

Site: http://jcraigk.com

Comments by Justin Craig-Kuhn

Avatar

Nice screencast Ryan. I have a question though. It seems like this method allows selection of Country only once. Since the State dropdown gets reduced to only the matched states after a Country selection, if you select a new Country that has states, you've now lost the original list of states, so the States dropdown comes up blank. This means if a user makes a mistake selecting their Country, they would need to reload the page in order to undo that mistake. Please correct me if I'm just implementing this wrong.