small medium large xlarge

Generic-user-small
29 Dec 2007, 20:28
Lou Arnold (1 post)

The example on that page doesn’t work. In the say_controller.rb: @time=Time.now And in hello.rhtml It is now <%= @time %> All I get from this in the browser is It is now, and no time and date at all.

I installed all this software in Nov 2007 into Linux (Fedora 7). So far all has worked well - except this.

Lilsteve_pragsmall
02 Jan 2008, 21:41
Steve Jones (14 posts)

If your paths are the same as the book then hello.rhtml should have access to @time in a controller method called ‘hello’.

You must be logged in to comment