Forum: Ruby-Forum.com MissingSourceFile in MytestController#index

Fb2a9fb493109fbe76d3957a054557b7?d=identicon&s=25 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
Fb2a9fb493109fbe76d3957a054557b7?d=identicon&s=25 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

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.