Tue 16 Jun 2009
undefined method `cache_template_loading=’ for ActionView::Base:Class
Posted by kosmas under Dreamhost, ruby on rails
No Comments
Problem
While developing on Rails 2.3.2 you want to deploy in dreamhost that uses 2.2.2 at the moment.
Solution
Although we could try to freeze the specific rails version we are using, it’s probably easier as a temporary solution, until dreamhost upgrades the rails version to do the following:
- Make sure that we have the following line with the appropriate version of
RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
in the config/environment.rb file
config.action_view.cache_template_loading = true
No Responses to “ undefined method `cache_template_loading=’ for ActionView::Base:Class ”