search for: sdfjsdf

Displaying 1 result from an estimated 1 matches for "sdfjsdf".

Did you mean: sdfasdf
2008 Jul 28
0
text_area value
...t", I say, in the new thread form: <% form.text_area :text, :value => params[:text] %> params[:text] = the text in the thread which the user wants to edit. It works fine most of the time, but if I made a new thread and had linebreaks, clicking edit fails. New form: text: sdfjksdfj sdfjsdf sdfsdf Those linebreaks are causing some trouble! Where is the problem? Is it storing the text/linebreaks in the params[:text] or in trying to set :value => params[:text]? Thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received thi...