I just “upgraded” to Rails 2.2.2.
In environment, I’ve set:
RAILS_GEM_VERSION = ‘2.2.2’ unless defined? RAILS_GEM_VERSION
In development.rb and production.rb I’ve commented out:
#config.action_view.cache_template_extensions = false
I now get an error:
You called render with invalid options : {:text=>“howdy”}, nil
The data within the curlies will be appropriate to the page. It’s
usually something like:
{:layout=>true, :file=>“page/list”}, nil
In the :text example, I’m trying to isolate the controller and the
views out of the picture and render some simple text to the screen
using:
def mypage
render(:text=>“howdy”)
end
It doesn’t matter whether I’m running Apache/mod_rails or Mongrel, I
get the same error. Must be something basic, but there isn’t much on
the web about it. Any ideas will be appreciated.