simple_cacheable
simple_cacheable copied to clipboard
If association is nil, don't keep looking it up
Unnessary sql calls for nil objects that will continue to be nil until the host object is updated.
This is more a problem with memoization then caching. Will need to look into memoization that can distinguish between set nils and being nil.