Forum: RForum MissingSourceFile in MytestController#index

Posted by Vijay Patidar (vijaypatidar)
on 2009-01-16 14:25
HI
I am using ruby on rail on windows XP and  i am getting this error

MissingSourceFile in MytestController#index

after creating a control that has flowwing thing

class MytestController < ApplicationController
  def index
    render_text "Hello"
  end
end


i have  defined a root in routes.rb file in config folder

like

map.connect ':controller/:mytest/:index'

i am using url like http://127.0.0.1:3000/mytest/index

and my server is webrick

any one can help on this


Thanks

vijay patidar
Posted by Vijay Patidar (vijaypatidar)
on 2009-01-17 13:05
i have solved this problem with a new problem


now i am  getting

Unknown database 'cookbook_development'

Error

any help

Vijay patidar
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.