So in Rails 3.2, ActiveSupport::Memoizable has been deprecated.
The message reads:
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
Another option is to use the Memoist gem:
It is a direct extraction from ActiveSupport::Memoizable and can be used as a drop-in replacement. Just require 'memoist' and change
ActiveSupport::Memoizable
require 'memoist'
extend ActiveSupport::Memoizable
to
extend Memoist