Use Keytar to automatically generate keys based on class name instead of cluttering model definitions with tons of redundant key method declarations.
Schneems
gem "keytar", "~> 1.5.2"