Cache Annotations provides an Annotation like interface to mark methods as functional. These are then cached automagically. This leads to cleaner code without performance implications.
Gregor Schmidt
gem "cache_annotations", "~> 0.1.0"