2

After upgrading to Rails 3.2.0, I started seeing the following deprecation warning in my development log and test output:

DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from <top (required)> at /Users/foo/bar/baz/bif/config/environment.rb:5)

Note the ending config/environment.rb:5, which is different than other related (Memoizable) SO questions.

Community
  • 1
  • 1
user664833
  • 18,397
  • 19
  • 91
  • 140

1 Answers1

4

I traced this down to this rails issue (specifically this comment) and this carrierwave issue.

The solution is to upgrade carrierwave:

Gemfile diff

-gem 'carrierwave', '~> 0.5.8'
+gem 'carrierwave'

Remember to run bundle update.

user664833
  • 18,397
  • 19
  • 91
  • 140