Text_area and :value


#1

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?


#2

Just a guess, but I think one of these will work:

text_area( “value” => “YOUR TEXT HERE”)

or

text_area( :value => “YOUR TEXT HERE”)

-Adam


#3

When I do this…

<%= text_area( “post”, “textarea”, :value => “YOUR TEXT HERE”) %>

I get…

not…

YOUR TEXT HERE