search for: greeting_controller

Displaying 2 results from an estimated 2 matches for "greeting_controller".

Did you mean: greetings_controller
2008 Feb 04
3
Hello World: uninitialized constant ApplicationController
Have the Wrox guide, but still having problems getting my hello world to run (very frustrating! ;-) Installed latest InstantRails package for Windows (XP). Thank you so much for helping!! Dirk After creating the project directories, I created my \app\controllers\greeting_controller.rb file: class GreetingController < ApplicationController def greeting end end Then put in my \app\views\greeting.rhtml page: <html> <head> <title>Greeting Page</title> </head> <body> <h1>Hello, this is my Greeting Page</h1...
2010 Jul 02
17
Doesn't work erb engine
I''m new in RoR:) I have controller and view (/app/controllers/greeting_controller.rb and /app/views/greeting/index.rhtml /.erb/.html.erb - doesn''t match). greeting_controller.rb source: class GreetingController < ApplicationController def index @message = "Hello world!" end end index.rhtml source: <html> <head><title>test</titl...