0.04
A long-lived project that still receives updates
Currency select plugin for Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 6.1.0
~> 1.59.0
~> 2.22.2
~> 2.25.0
~> 0.6.0

Runtime

>= 6.1.0, < 7.2
~> 6.0
 Project Readme

CurrencySelect

GitHub CI Status Gem Version

Adds a currency_select helper to Ruby on Rails projects, allowing you to get a HTML select list of available currencies.

The list of currencies are provided by the Money gem.

New maintainer wanted

We're not using this gem anymore, so we'm looking for a new maintainer. If you're interested in becoming the new maintainer, please contact us at info AT braingourmets DOT com.

Installation

Add the following to your Gemfile:

gem 'currency_select'

Example

currency_select('user', 'currency')

form_for example

<%= f.currency_select(:currency, ["USD", "EUR", "CAD"], {}, {class: "form-control"}) -%>

Contributing to this project

Code of Conduct

This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.

Maintainers