rails_country_select 1.0.4.pre5 → 1.0.4.pre6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_country_select/version.rb +1 -1
- data/lib/rails_country_select.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b50d303a95e3f4eb109a27d196affd60525b7607
|
4
|
+
data.tar.gz: 1fd880d1263b53068f94232fdae2bb45a0ad3771
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bee7c16ee8d733ed21ca96fa2c68470d4e2dd5d42a45919907cb6daf2a6e3ace1503b764781f2679c49aa753fe08a41c4c129664039ea54858f23d604ca17b5
|
7
|
+
data.tar.gz: 6f0e25bcb4fe34fb699e84249dfef4a7c80e19270ac0f181752076a7416b5ff992b2fbbbb5b8056f6999da7418cb56dfd3b30552f10c404cbfe9d4fe0045acfe
|
data/lib/rails_country_select.rb
CHANGED
@@ -19,7 +19,7 @@ require File.expand_path('../country_definitions', __FILE__)
|
|
19
19
|
}
|
20
20
|
#options = options.delete(:object)
|
21
21
|
select_options = potential[options[:keys]].zip(potential[options[:values]])
|
22
|
-
select_tag(method, options_for_select(select_options),html_options)
|
22
|
+
select_tag(method, options_for_select(select_options, options[:selected]),html_options)
|
23
23
|
#Tags::Select.new(object, method, self, select_options, options, html_options)
|
24
24
|
end
|
25
25
|
end
|