lib/redis-model-extension/redis_key.rb
def add_item_to_redis_key args, key
      if args.has_key?(key) && !args[key].nil?
        key = ":#{args[key]}"
        key = key.mb_chars.downcase if redis_key_normalize_conf.include?(:downcase)
        key = ActiveSupport::Inflector::transliterate(key) if redis_key_normalize_conf.include?(:transliterate)
        key 
      else
        ":*"
      end
    end
def add_item_to_redis_key args, key
      if args.has_key?(key) && !args[key].nil?
        key = ":#{args[key]}"
        key = key.mb_chars.downcase if redis_key_normalize_conf.include?(:downcase)
        key = ActiveSupport::Inflector::transliterate(key) if redis_key_normalize_conf.include?(:transliterate)
        key 
      else
        ":*"
      end
    end
return one item of redis key (will decide to input value or to add * for search)