Topic: Problems on Instant RailsTutorial

Dear fellows developers,

I follow the Instant Rails Tutorial Step by step. however I am getting stuck in the part where we do tests in My testController. The error is:

NoMethodError in My testController#index

undefined method `render_text' for #<MyTestController:0x34fb700>

RAILS_ROOT: C:/InstantRails/rails_apps/cookbook2
Application Trace | Framework Trace | Full Trace

app/controllers/my_test_controller.rb:3:in `index'

Request

Parameters:

None

Show session dump

---
flash: !map:ActionController::Flash::FlashHash {}


Response

Headers:

{"cookie"=>[],
"Cache-Control"=>"no-cache"}

Since I am new in the stuff, I would like to what this error means.
Thanks in advance,

Jo

Re: Problems on Instant RailsTutorial

render_text has been deprecated (and subsequently removed from Rail altogether). You can get your app working with the following:

render :text => "Hello World"