def static_record_finder_method_name(finder, attributes)#:nodoc:
      method_to_call = "find_in_static_record_cache(#{finder.inspect}, #{attributes.inspect})"
      if attributes.length == 1
        key_value = case attributes.keys.first.to_s
          when self.primary_key then [:primary_key, attributes.values.first.to_i]
          when acts_as_static_record_options[:key] then [:key, attributes.values.first.to_s]
        end

        method_to_call = "static_record_cache[#{key_value[0].inspect}][#{key_value[1].inspect}]" if key_value
      end
      method_to_call
    end
def static_record_finder_method_name(finder, attributes)#:nodoc:
      method_to_call = "find_in_static_record_cache(#{finder.inspect}, #{attributes.inspect})"
      if attributes.length == 1
        key_value = case attributes.keys.first.to_s
          when self.primary_key then [:primary_key, attributes.values.first.to_i]
          when acts_as_static_record_options[:key] then [:key, attributes.values.first.to_s]
        end

        method_to_call = "static_record_cache[#{key_value[0].inspect}][#{key_value[1].inspect}]" if key_value
      end
      method_to_call
    end
Retrieve the method name to call based on the attributes
 Single attributes on primary key or the specified key call directly to the cache
 All other methods iterate through the cache