# Template is missing statement

**URL:** <https://www.ruby-forum.com/t/template-is-missing-statement/191779>\
**Category:** Ruby\
**Created:** [July 18, 2010, 2:44pm UTC](https://www.ruby-forum.com/t/template-is-missing-statement/191779 "2010-07-18T14:44:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![borijee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/439d5e/32.png) [@borijee](https://www.ruby-forum.com/u/borijee)\
**Post date:** [July 18, 2010, 2:44pm UTC](https://www.ruby-forum.com/t/template-is-missing-statement/191779/1 "2010-07-18T14:44:50Z")

</div>

Hi folks. Listen I got a problem.  
Just starts wirth ruby. Everything is installed  
and when I check the lacalhost Site, evrything is running well  
So I start doing an new application named say.

I got a class Say Controller

saved: demo/app/controllers/say\_controller.rb

class SayController \< ApplicationController  
def hello  
end  
end

and a html.erb  
Gespeichert : demo/app/views/say/hello.html.erb

Hello, Rails!
# Hello from Rails!

In the website output :

Missing template  
demo/app/views/say/hello.rhtml

What can I do???

---

<div class="post-metadata">

**Author:** ![borijee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/439d5e/32.png) [@borijee](https://www.ruby-forum.com/u/borijee)\
**Post date:** [July 18, 2010, 5:28pm UTC](https://www.ruby-forum.com/t/template-is-missing-statement/191779/2 "2010-07-18T17:28:54Z")

</div>

Do you notice any difference between the two filenames?  
Let’s see…  
demo/app/views/say/hello.html.erb  
demo/app/views/say/hello.rhtml

---

<div class="post-metadata">

**Author:** ![borijee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/439d5e/32.png) [@borijee](https://www.ruby-forum.com/u/borijee)\
**Post date:** [July 19, 2010, 3:02pm UTC](https://www.ruby-forum.com/t/template-is-missing-statement/191779/3 "2010-07-19T15:02:08Z")

</div>

Boris Vom grund wrote:

> Hi folks. Listen I got a problem.  
> Just starts wirth ruby. Everything is installed  
> and when I check the lacalhost Site, evrything is running well  
> So I start doing an new application named say.
> 
> I got a class Say Controller
> 
> saved: demo/app/controllers/say\_controller.rb

You haven’t actually said so, but I’m going to guess you’re working with  
Rails.

Questions specifically about Rails (rather than the Ruby language it is  
written in) are best asked on a Rails mailing list, rather than a Ruby  
one.
