search for: visits_control

Displaying 1 result from an estimated 1 matches for "visits_control".

2006 Jul 11
4
Variable Losing it''s Value
I fired up my rails app after a few weeks, only to find it was broken, in that the variable seems to be losing it''s value somewhere between the controller and the view. I''ve broken it down to the absolute simplest test, and here 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'' r...