added Rails.cache in typeahead controller