class Test < Application
def file
render File.open("/etc/passwd")
end
def proc
p = Proc.new { "hello" }
render p
end
end
Both those actions don't seem to render anything to the client.
Am I understanding something incorrectly?
Joe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---