Skip to content

Commit

Permalink
Remove the country_select helper.
Browse files Browse the repository at this point in the history
We're in no position to mediate disputes on this matter, and the previous change to use ISO 3166 has offended just as many people as the ad-hoc list did.

If you want the old list back you can install the plugin:

ruby script/plugin install git://github.com/rails/country_select.git
  • Loading branch information
NZKoz committed Sep 18, 2008
1 parent e7cb8c8 commit 2d27b82
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 1,645 deletions.
1 change: 0 additions & 1 deletion actionpack/lib/action_view/helpers.rb
Expand Up @@ -21,7 +21,6 @@ module ClassMethods
include CaptureHelper
include DateHelper
include DebugHelper
include FormCountryHelper
include FormHelper
include FormOptionsHelper
include FormTagHelper
Expand Down
92 changes: 0 additions & 92 deletions actionpack/lib/action_view/helpers/form_country_helper.rb

This file was deleted.

3 changes: 0 additions & 3 deletions actionpack/lib/action_view/helpers/form_options_helper.rb
Expand Up @@ -324,9 +324,6 @@ def option_value_selected?(value, selected)
value == selected
end
end

# All the countries included in the country_options output.
COUNTRIES = ActiveSupport::Deprecation::DeprecatedConstantProxy.new 'COUNTRIES', 'ActionView::Helpers::FormCountryHelper::COUNTRIES'
end

class InstanceTag #:nodoc:
Expand Down

2 comments on commit 2d27b82

@carlosbrando
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do some feel offended by that?

@ThisOldCoder
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering myself, wanting to be able to make an informed decision regarding which country list to implement. So I did some digging and found this thread

Please sign in to comment.