On 30 July 2010 11:26, Jatin kumar <[email protected]> wrote: > On the server
Please don't top post on this list. Thanks Put your text area in a form with a submit button. In the controller get the contents from params and write it to the file. Colin > > On Fri, Jul 30, 2010 at 3:31 PM, Colin Law <[email protected]> wrote: >> >> On 30 July 2010 10:12, Silver Spoon <[email protected]> wrote: >> > I am new to Rails. In my web application, the user can type the >> > contents of a file in a textarea or a content Editable iFrame and when >> > he saves the file, the contents should be written to the file with the >> > file extension specified by the user. How can I do so?? >> >> Where are you trying to save the file? On the users PC or on the server? >> >> Colin >> >> -- >> 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. >> > > -- > 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. > -- 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.

