Displaying 1 result from an estimated 1 matches for "appone_control".
2007 Sep 04
4
Errors in executing first RoR app - reg.
Hi Friends,
I am brand new to RoR.Kindly help me with the following problem.
Following are the steps i have done.
1) C:/> rails appone
2) C:/> cd appone
3) C:/appone> cd script
4) C:/appone/script> ruby generate controller appone index
5) Edited C:/appone/app/controllers/appone_controller.rb
class ApponeController < ApplicationController
def index
time = Time.now
@time = time
end
end
6) Edited C:\appone\app\views\appone\index.rhtml
<h1>Appone#index</h1>
<h1>Time : <%=@time%></h1>
<p>Find me in app/views/appone/index.rhtml</...