rails_look_up_table

This is a simple gem which caters for look up tables in rails, the fact that look up tables don’t really hold relationships is the reason this gem exists.

Once the gem is installed all one need to do to use it is call the lookup method in the model which uses the lookup table passing in the the model name that represents the lookup table eg.

Class Person < ActiveRecord::Base

lookup :status

end

The following features will be provided:

Contributing to rails_look_up_table

Copyright © 2013 Paul Janse van Rensburg. See LICENSE.txt for further details.