Rails controllers not working -
i've started on rails, got setup on dreamhost account passenger, except demo controller i've created isn't working. ran:
$ script/generate controller demo index
the files there, when go http://rails.mysite.com/demo/index 'we're sorry, went wrong' message. there's nothing in log files @ all, i'm in development mode.
any appreciated, thanks!
darren.
you may not have initialized database yet, in case rails stack doesn't finish booting properly. if can run script/console, you're half-way there. if can't, may give hint what's wrong.
generally database.yml file contains configuration sqlite3, may not available on platform. it's pretty easy switch on mysql or postgres, whatever you're using.
Comments
Post a Comment