[LRUG] AJAX file uploads and content types

Graham Ashton graham at effectif.com
Wed Apr 4 02:14:35 PDT 2012


On 4 Apr 2012, at 09:29, Andrew Stewart wrote:

> To gather more information I added `$stderr.puts "useful info"` etc to the remotipart middleware but I can't find the output in my unicorn logs.

When that used to happen to me, my quick and dirty solution was to open a file of my own choosing and to write to that instead...

    File.open(path, 'a') { |f| f.puts("useful info") }


More information about the Chat mailing list