Hello to all ,
I am new in ruby development, so please me, i am asking a very simple
query.
Problem :
I created a simple greeting application
-
F:\RubyProjects>rails chapterone
-
F:\RubyProjects\chapterone>rails script/generate controller
greeting -
after that i edit greeting_controller.rb
class GreetingController < ApplicationController
def index
@welcome_message=“Welcome to your first rail application”
end
end
- then i create a index.html.rb file in app/view/greeting folder
<%=@welcome_message %>
- then i open browser http:\localhost:3000/greeting
here i got a error
MissingSourceFile in GreetingController#index
So can any one suggest me , how to get out of this error.
Thank you,
Vikas G…