Skip to content

Commit

Permalink
fixing out of date reference to the official rails country_select plu…
Browse files Browse the repository at this point in the history
…gin which is no longer maintained
  • Loading branch information
ramaboo committed Jan 30, 2012
1 parent a69e7b8 commit 37e0eea
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/formtastic/inputs/country_input.rb
Expand Up @@ -4,7 +4,8 @@ module Inputs
# Rails doesn't come with a `country_select` helper by default any more, so you'll need to do
# one of the following:
#
# * install [the official Rails plugin](http://github.com/rails/iso-3166-country-select)
# * install the [country-select](https://github.com/jamesds/country-select) gem
# * install the no longer maintained [official Rails plugin](http://github.com/rails/iso-3166-country-select)
# * install any other country_select plugin that behaves in a similar way
# * roll your own `country_select` helper with the same args and options as the Rails one
#
Expand Down Expand Up @@ -50,7 +51,7 @@ class CountryInput
include Base

def to_html
raise "To use the :country input, please install a country_select plugin, like this one: http://github.com/rails/iso-3166-country-select" unless builder.respond_to?(:country_select)
raise "To use the :country input, please install a country_select plugin, like this one: https://github.com/jamesds/country-select" unless builder.respond_to?(:country_select)
input_wrapping do
label_html <<
builder.country_select(method, priority_countries, input_options, input_html_options)
Expand All @@ -63,4 +64,4 @@ def priority_countries

end
end
end
end

0 comments on commit 37e0eea

Please sign in to comment.