puts not working

Andreas,

puts is for console output. It won't print anything to a page in Rails. You use it in ruby scripts executed from the console.
In Rails, all rendering is done in the .rhtml files, so anything that needs to be output-ted has to be in there.

Jason

Andreas Schneider wrote:

puts will output smthg in your console if you have webrick server

i now use mongrel and it doesnt show smthg anymore