From 37e0eeaea8754d701484ae7b398c4766abed83cc Mon Sep 17 00:00:00 2001 From: David Singer Date: Mon, 30 Jan 2012 08:40:39 -0800 Subject: [PATCH] fixing out of date reference to the official rails country_select plugin which is no longer maintained --- lib/formtastic/inputs/country_input.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/formtastic/inputs/country_input.rb b/lib/formtastic/inputs/country_input.rb index e00bfe584..8f6a9273f 100644 --- a/lib/formtastic/inputs/country_input.rb +++ b/lib/formtastic/inputs/country_input.rb @@ -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 # @@ -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) @@ -63,4 +64,4 @@ def priority_countries end end -end \ No newline at end of file +end