lib/redis-model-extension/get_find.rb
def get_by_redis_key(redis_key)
      if redis_key.is_a?(String)
        klass = self.name.constantize
        klass.new_by_key(redis_key)
      else
        nil
      end
    end
def get_by_redis_key(redis_key)
      if redis_key.is_a?(String)
        klass = self.name.constantize
        klass.new_by_key(redis_key)
      else
        nil
      end
    end
GET BY REDIS KEYS

if you know redis key and would like to get object