From: Scott Elwood Date: 2011-04-27T15:01:03+09:00 Subject: File.open of HTML file removes code Hey there, I am trying to edit an erb file in ruby, however when I do: file.open("index.erb") It displays the information, but removes the Doctype, html, body, and head tags. Is there any way to read the entire contents of the .erb file? -- Posted via http://www.ruby-forum.com/.