Lib file state_select.rb
If you are not interested in installing a plugin just for one method(state_select) then You can put state_select.rb file in you rails lib directory. And include state_select.rb file in your controller where ever you want to use state_select method.
The url for state_select.rb is http://opensvn.csie.org/state_select/trunk/lib/state_select.rb
Feedback please….














Should upcase the country name when appending _STATE to it.
Also need some adjustments to the Canadian provinces:
[”Alberta”, “British Columbia”, “Manitoba”, “New Brunswick”, “Newfoundland”, “Northwest Territories”, “Nova Scotia”, “Nunavut”, “Ontario”, “Prince Edward Island”, “Quebec”, “Saskatchewan”, “Yukon”],
Otherwise, looks nice!