/app/controllers/hello_controller.rb ----------------------------------------- class HelloController < ApplicationController def index @greeting = "hello world!" end end ----------------------------------------- index.rhtml ----------------------------------------- <%= @greeting %>