Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

state_select_plugin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

state_select_plugin

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

StateSelect

state_select plugin allows you to easily create dropdown list of states for a country provided as an option.

Default country is US.

Usage

state_select(object, method, country = "US", options = {}, html_options = {})

Currently it supports:

  • INDIA,
  • US,
  • UK,
  • CANADA,
  • AUSTRALIA,
  • SPAIN,
  • FRANCE,
  • UGANDA,
  • GERMANY,
  • NETHERLANDS,
  • MEXICO,
  • POLAND.

Compatibility

state_select works with Rails 2.3, 3.0 and 3.1.

Contributors

  • Thanks keith for Australian states
  • Thanks Vicent for Spanish states
  • Thanks Chuck Phillips for Ugandan states
  • Thanks Jonathan Tron for French states
  • Thanks Gavin Morrice for UK States
  • Thanks Filip Tepper for Polish States

If you want to add other country please send me the list of states and I will add them, or you can fork and make a pull request.

Author

Akhil Bansal, bansalakhil30.10@gmail.com, http://webonrails.com/, New Delhi, India

FAQs

Package last updated on 19 Apr 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc