@rubygems/attribute_choices
Extends ActiveRecord attributes with a `:choices` pseudo-type that provides convenient methods for mapping each choice to its human readable form.details
- latest
- 1.0.2
- PURL
- pkg:gem/gem.coop/rubygems/attribute_choices@1.0.2
- licenses
- none
- ruby
- >= 0
- rubygems
- >= 0
- executables
- none
- native extensions
- none
- platforms
- ruby
links
- homepage
- http://github.com/christos/attribute_choices
versions
- 1.0.2 Sep 30 2011 gem.coop system
- 1.0.1 May 12 2011 gem.coop system
- 1.0.0 May 12 2011 gem.coop system
usage
- run on your commandline
-
bundle add attribute_choices --source "https://gem.coop/@rubygems" - or, put in your Gemfile
-
gem "attribute_choices", source: "https://gem.coop/@rubygems"