Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3592

Re: File.open of HTML file removes code

From 7stud -- <bbxx789_05ss@yahoo.com>
Newsgroups comp.lang.ruby
Subject Re: File.open of HTML file removes code
Date 2011-04-27 19:39 -0500
Organization Service de news de lacave.net
Message-ID <71190b82c92243ccf754ca937e60a73d@ruby-forum.com> (permalink)
References <f35f5a43da863832e708040011124ed4@ruby-forum.com> <188b9aabd4a7d3d2732aced0c2a27b7d@ruby-forum.com>

Show all headers | View raw


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/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

File.open of HTML file removes code Scott Elwood <elwood32@live.com> - 2011-04-27 01:01 -0500
  Re: File.open of HTML file removes code Nikita Baksalyar <n.baksalyar@yandex.ru> - 2011-04-27 01:52 -0500
  Re: File.open of HTML file removes code Brian Candler <b.candler@pobox.com> - 2011-04-27 02:49 -0500
  Re: File.open of HTML file removes code Scott Elwood <elwood32@live.com> - 2011-04-27 13:57 -0500
    Re: File.open of HTML file removes code 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-27 19:39 -0500
  Re: File.open of HTML file removes code Scott Elwood <elwood32@live.com> - 2011-04-28 01:14 -0500

csiph-web