Maybe you want something that acts like a hash but is backed by ActiveRecord.
Francis Hwang
gem "durable_hash", "~> 1.0.1"