I''m trying to use the text_area() method and would like to populate the text block with initial text. According to this: http://dev.rubyonrails.org/ticket/3752 there was a fix put in place, but I''m ont sure how to integrate this. How do I get the :value parameter to show up within the textbloc instead of the html attributes? -- Posted via http://www.ruby-forum.com/.
Just a guess, but I think one of these will work: text_area( <stuff> "value" => "YOUR TEXT HERE") or text_area( <stuff> :value => "YOUR TEXT HERE") -Adam -- Posted via http://www.ruby-forum.com/.
When I do this... <%= text_area( "post", "textarea", :value => "YOUR TEXT HERE") %> I get... <textarea cols="40" id="post_textarea" name="post[textarea]" rows="20" value="YOUR TEXT HERE"></textarea> not... <textarea cols="40" id="post_textarea" name="post[textarea]" rows="20" > YOUR TEXT HERE </textarea> -- Posted via http://www.ruby-forum.com/.