method
country_select
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
Ruby on Rails latest stable (v7.1.3.2)
-
1 note -
Class: ActionView::Helpers::FormBuilder
- 1.0.0
- 1.1.6
- 1.2.6
- 2.0.3
- 2.1.0 (0)
- 2.2.1
- 2.3.8
- 3.0.0
- 3.0.9
- 3.1.0
- 3.2.1
- 3.2.8
- 3.2.13
- 4.0.2
- 4.1.8
- 4.2.1
- 4.2.7
- 4.2.9
- 5.0.0.1
- 5.1.7
- 5.2.3
- 6.0.0
- 6.1.3.1
- 6.1.7.7
- 7.0.0
- 7.1.3.2
- 7.1.3.4
- What's this?
country_select(method, priority_countries = nil, options = {}, html_options = {})
public
Register or
log in
to add new notes.
spectator -
November 28, 2008 - (>= v2.2.1)
![Default_avatar_30](https://www.gravatar.com/avatar/c798968646862e6e50f369c34d5f0b82?default=http://apidock.com/images/default_avatar_30.png&size=30)
2 thanks
Removed form Rails core
country_select and country_options_for_select were removed from Rails core since 2.2 release, but extracted to plugin. http://github.com/rails/country_select/tree/master/README
Also you could be interested in localized_country_select plugin which uses Rails internationalization framework I18n. http://github.com/karmi/localized_country_select/tree/master/README.rdoc