My Rails working on a Linux system and a client access this server from
Windows. The client inputs something in a text area and click submit, in
the server side, it put the input into a file. The problem is that at
the end of each line in the file, there is a "^M". How can I avoid this?
I use File.puts method to write to the file.

thanks.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to