¿A qué patrón de memoria Ruby se refiere ActiveSupport :: Memoizable?

Así que en Rails 3.2, ActiveSupport :: Memoizable ha quedado en desuso.

El mensaje dice:

DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and
will be removed in future releases,simply use Ruby memoization
pattern instead.

Se refiere al "patrón de memorización de Ruby" (singular) como si hubiera un patrón que todos deberíamos conocer y referirnos ...

Supongo que significan algo como:

def my_method
  @my_method ||= # ... go get the value
end

def my_method
  return @my_method if defined?(@my_method)

  @my_method = # ... go get the value
end

¿Hay algo más que me haya perdido?

Respuestas a la pregunta(8)

Su respuesta a la pregunta