RubyGems.org

static_list

0.2.2

In your application you may want to handle things in your User model like sex (female, male) or other static lists. You want these lists to be handled using 'textual keys' in your application but stored in your database using codes in an integer column.

installgem install static_list
Authors

Yann Klis

3,464 total downloads 1,525 for this version
Owners

38a4aaeaea51954135ef46932cbb6c3e

Gemfile
gem 'static_list', '~> 0.2.2'
Versions
  1. 0.2.2 May 10, 2011 (9 KB)
  2. 0.2.1 February 28, 2011 (9 KB)
  3. 0.1.0 February 19, 2011 (7.5 KB)