RubyGems Navigation menu

acts_as_lookup 0.2.1

Provides an easy means for creating models that act like enumerations or lookup tables. You can specify the lookup values in your Rails models and can lazily push these to the associated db tables (or not). Also dynamically adds helpful class-level methods to access singleton instances of each value in your lookup table.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.1 - July 31, 2012 (9 KB)
  2. 0.2.0 - July 31, 2012 (9 KB)
  3. 0.1.0 - February 23, 2011 (11 KB)
  4. 0.0.3 - May 04, 2010 (9 KB)
  5. 0.0.2 - April 09, 2010 (9 KB)
Show all versions (6 total)

Owners:

Authors:

  • Brian Percival

SHA 256 checksum:

e096849d9710690649f35216538922719ef18d2d9e65cd04789afb061fd3d9be

Total downloads 52,015

For this version 9,977

Licenses:

N/A

Required Ruby Version: None

Links: