schema_cache() only defined starting in Rails >= 4