Fix holes in digest creation where file could not be there, or not be the class we expect ( ActiveRecord::Base)