Forum: Ruby on Rails Routing Error Recognition failed for "/notes"

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Adam (Guest)
on 2006-06-13 18:31
I'm a noob to rails and i could use some help.

Fedora Core 5
Ruby 1.8.4
Rails 1.1.2
Postgres for My Database
Using webrick for testing at the monent but have lighttpd installed but
the service is diabled.

Here are my steps that i fillow.

In my home directory i type rails test
#cd test
#sudo chmod -R 775 log
#sudo chmod -R 775 public
#ruby script/server
Then i make my postgres database and table. Both named "notes" and i do
have columns in the table.
#script/generate model notes
#script/generate scaffold notes

Then i browse to http://localhost:3000/notes and i get Routing Error
Recognition failed for "/notes".

Here is my database.yml contents

development:
  adapter: postgresql
  database: notes_development
  username: postgres
  password: s1d3sh0w
  host: localhost
  port: 5432
test:
  adapter: postgresql
  database: notes_test
  username: postgres
  password: s1d3sh0w
  host: localhost
  port: 5432

production:
  adapter: postgresql
  database: notes_production
  username: postgres
  password: s1d3sh0w
  host: localhost

is this a routes.rb problem??
This topic is locked and can not be replied to.