Does anyone know of a good way of caching the constant variables in
I have constants in models whose values are based on finder methods.
eg) TYPE_UNIV = Decode.find_by_name(“University”)
When i access this constant from Controllers or Views or Model, i see
a query running in DB each time.