added in an 1.8.5 feature -- model_cache for foreign keys