rails/rails — comment on commit 36253916b0b788d6ded56669d37c96ed05c92c5c
File:  line 0
By Bodacious:

I don't mind this being deprecated.

I for most cases the `@var ||= ` or `return @var if defined?(@var) ...` approaches are sufficient. Also, a lot of less experienced developers miss out on the how and why of these important concepts when it's all done under the hood by methods like memoize.

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

Can someone please change the deprecation message though? There is no single "Ruby memoization pattern" so this message is misleading.