Undefined method `cache_template_extensions=' when upgrading to Ruby on Rails 2.2.2

Posted on 24 November 2008

After upgrading to Ruby on Rails 2.2.2 I was getting...

undefined method `cache_template_extensions='

The simple fix was to remove it from my config/environments/development.rb file as it's now been deprecated.

Comments left...

  • Thx, I thought I borke something when switching git branches from master to origin/2-2-stable

    Mike_s at 02 Jan 09 at 16:17

  • thanks, this helped

    Jonah at 07 Jan 09 at 16:49

  • Thanks!

    Robert at 13 Jan 09 at 15:09

  • This one was working, thanks! but i get this error now….

    `alias_method': undefined method `options_with_prefix' for class `ActionView::Helpers::InstanceTag' (NameError)

    can u help? i am total newby

    Calvin at 12 Mar 09 at 09:53

  • you rock dude! Fixed it pronto. Thanks for posting!

    nelsonenzo at 23 Jul 09 at 15:19

  • Thanks this worked. You’re awesome.

    tjk at 14 Aug 09 at 03:43

  • thanks!

    kodegeek at 24 Aug 09 at 22:25

  • Thanks!!!

    vm at 11 Oct 09 at 23:22

  • Handy, thanks mate.

    Pete at 14 Nov 09 at 05:44

  • Handy, thanks mate.

    Pete at 14 Nov 09 at 05:45

  • Handy, thanks mate.

    Pete at 14 Nov 09 at 07:15

Got something to say?