search for: schmitz703

Displaying 2 results from an estimated 2 matches for "schmitz703".

2012 Mar 23
7
gsub
hi, im getting tired on this one. i want to replace all forwardslashes with backwardslashes. irb: r = "C:/RAILS/" r.gsub("/", "\\") or r.gsub("/") {(''\''} both give me: "C:\\RAILS\\" how can i use gsub to display only one "\"? regards -- You received this message because you are subscribed to the Google Groups
2012 Mar 27
4
Upload
hello everyone, i have written an upload controller which handles files in a multipart- form. it scans through the bytes to check if it''s an acceptable file. my problem is to get the progress of the upload of a single file. i loop through my params to move every file to the server and it''s working properly. is there a method to check whether a file has been completely