Displaying 1 result from an estimated 1 matches for "reusult".
Did you mean:
result
2006 Jul 11
4
Variable Losing it''s Value
...re is what I get:
THE CONTROLLER (controllers/visits_controller.rb)
class VisitsController < ApplicationController
def list
@test = "test"
end
end
THE VIEW (views/visits/list.rhtml)
Testing: <%= @test %></p>
THE RESULT (http://logapp/visits/list.rhtml)
Testing:
EXPECTED REUSULT
Testing: test
A ''@test.inspect'' returns ''nil''. Any ideas? Thanks.
--
Posted via http://www.ruby-forum.com/.