Dark D. wrote:
Thorsten M. wrote:
it’s as simple as the message tells you, the file greeting.html.erb
in folder C:/Documents and
this should contain the html/erb code to display your data
for simple testing/make it run, you can just place an empty file with
the name there or put some simple html in it like:
that’s all to it, you should see the content of the file in your browser
Hi, I am also new to Ruby on Rails and html…after reading your
comment i now know that i need to create a html.erb file but my question
is how do i create an html.erb file??? using notepad??? Do i jus type
(da file name) followed by html.erb??? I’ve tried dis but it still says
“Template is Missing”
Thanks and hope 2 hear 4m u soon!
It’s just a text file. You create it in a text editor, the same way
you’d create a plain HTML file for a static website.
A thought: if you don’t know how to create static Web pages, then you’re
not ready to
start working with Rails (or any other Web programming framework) quite
yet. Learn HTML first, then come back.