adding class search method in main class which uses Rails.cache.fetch