class WellType < ActiveRecord::Base NFW=WellType.find_by_id(1) NPW=WellType.find_by_id(2) DPT=WellType.find_by_id(3) SPT=WellType.find_by_id(4) DEV=WellType.find_by_id(5) ALL=[NFW, NPW, DPT, SPT, DEV] end