I just want to get a listing of my database, as I''ve done with a dummy example. Right now I''m getting: "Routing Error no route found to match "/legacy/list" with {:method=>:get}" <http://localhost:3000/legacy/list> and I also get "Routing Error no route found to match "/legacies/list" with {:method=>:get}" <http://localhost:3000/legacies/list> Here''s the terminal output: [thufir@localhost ~]$ ./ruby.legacy.txt Wed Jun 13 00:53:07 BST 2007 /home/thufir thufir Fedora Core release 6 (Zod) echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" date pwd whoami cat /etc/fedora-release cat /home/thufir/ruby.legacy.txt echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "the database configuration file" cat /home/thufir/legacy/config/database.yml echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" #echo "rails lecacy..." #this command only needs to be executed for the initial setup rails legacy echo "" echo "" echo "" #echo "ruby /home/thufir/legacy/script/generate controller hello..." ruby /home/thufir/legacy/script/generate controller hello echo "" echo "" echo "" echo "hello world" > /home/thufir/legacy/app/views/hello/index.rhtml echo "" echo "" echo "" #echo "ruby /home/thufir/legacy/script/generate scaffold legacy..." ruby /home/thufir/legacy/script/generate scaffold legacy echo "" echo "" echo "" #echo "ruby script/server..." echo "http://localhost:3000/legacies/list" echo "http://localhost:3000/legacy/list" echo "" echo "" echo "" echo "" ruby /home/thufir/legacy/script/server the database configuration file # MySQL (default setup). Versions 4.1 and 5.0 are recommended. # # Install the MySQL driver: # gem install mysql # On MacOS X: # gem install mysql -- --include=/usr/local/lib # On Windows: # gem install mysql # Choose the win32 build. # Install MySQL and put its /bin directory on your path. # # And be sure to use new-style password hashing: # http://dev.mysql.com/doc/refman/5.0/en/old-client.html development: adapter: mysql database: dummy username: feeds password: password socket: /var/lib/mysql/mysql.sock # Warning: The database defined as ''test'' will be erased and # re-generated from your development database when you run ''rake''. # Do not set this db to the same as development or production. test: adapter: mysql database: dummy username: feeds password: password socket: /var/lib/mysql/mysql.sock production: adapter: mysql database: dummy username: feeds password: password socket: /var/lib/mysql/mysql.sock exists exists app/controllers exists app/helpers exists app/models exists app/views/layouts exists config/environments exists components exists db exists doc exists lib exists lib/tasks exists log exists public/images exists public/javascripts exists public/stylesheets exists script/performance exists script/process exists test/fixtures exists test/functional exists test/integration exists test/mocks/development exists test/mocks/test exists test/unit exists vendor exists vendor/plugins exists tmp/sessions exists tmp/sockets exists tmp/cache exists tmp/pids identical Rakefile identical README identical app/controllers/application.rb identical app/helpers/application_helper.rb identical test/test_helper.rb overwrite config/database.yml? [Ynaqd] n skip config/database.yml identical config/routes.rb identical public/.htaccess identical config/boot.rb identical config/environment.rb identical config/environments/production.rb identical config/environments/development.rb identical config/environments/test.rb identical script/about identical script/breakpointer identical script/console identical script/destroy identical script/generate identical script/performance/benchmarker identical script/performance/profiler identical script/process/reaper identical script/process/spawner identical script/process/inspector identical script/runner identical script/server identical script/plugin overwrite public/dispatch.rb? [Ynaqd] a forcing app force public/dispatch.rb force public/dispatch.cgi force public/dispatch.fcgi identical public/404.html identical public/500.html identical public/index.html identical public/favicon.ico identical public/robots.txt identical public/images/rails.png identical public/javascripts/prototype.js identical public/javascripts/effects.js identical public/javascripts/dragdrop.js identical public/javascripts/controls.js identical public/javascripts/application.js identical doc/README_FOR_APP identical log/server.log identical log/production.log force log/development.log identical log/test.log exists app/controllers/ exists app/helpers/ exists app/views/hello exists test/functional/ identical app/controllers/hello_controller.rb identical test/functional/hello_controller_test.rb identical app/helpers/hello_helper.rb exists app/controllers/ exists app/helpers/ exists app/views/legacies exists app/views/layouts/ exists test/functional/ dependency model exists app/models/ exists test/unit/ exists test/fixtures/ identical app/models/legacy.rb identical test/unit/legacy_test.rb identical test/fixtures/legacies.yml Can''t connect to local MySQL server through socket ''/var/lib/mysql/ mysql.sock'' (2) http://localhost:3000/legacies/list http://localhost:3000/legacy/list => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2007-06-13 00:53:28] INFO WEBrick 1.3.1 [2007-06-13 00:53:28] INFO ruby 1.8.5 (2007-03-13) [i386-linux] [2007-06-13 00:53:28] INFO WEBrick::HTTPServer#start: pid=6558 port=3000 127.0.0.1 - - [13/Jun/2007:00:53:49 BST] "GET /legacies/list HTTP/1.1" 404 627 - -> /legacies/list 127.0.0.1 - - [13/Jun/2007:00:53:57 BST] "GET /legacy/list HTTP/1.1" 404 625 - -> /legacy/list [2007-06-13 00:53:59] INFO going to shutdown ... [2007-06-13 00:54:00] INFO WEBrick::HTTPServer#start done. [thufir@localhost ~]$ [thufir@localhost ~]$ [thufir@localhost ~]$ thanks, Thufir --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---