Scott Elwood wrote in post #995373:
> Thanks to both of you!
>
> I checked both of the code you guys suggested and it worked fine.
> However there is still a problem.
>
> I am developing an application for a ruby class I am in, and I would
> like to edit some of that .erb file in an HTML textarea.

You need to post that .erb file.  Or, even better, create the most 
minimal .erb file you can that will still exhibit your problem.


>
> If I print the data into a <div>,
>

Huh?  What data?  What <div>?

>
> Is there some reason why textareas do not display this data?
>

Huh?  I thought we were talking about an .erb file?  erb files don't 
display anything.

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