The Persist gem makes it really, really simple to persist Ruby objects to disk.
Shannon Skipper
MIT
gem "persist", "~> 0.1.3"