Forum: Ruby on Rails [SPAM] Problem with scaffolding on test setup

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.
E9fd0a26f21517b453c368d0fb48bc12?d=identicon&s=25 Benjamin Orchard (Guest)
on 2006-04-05 22:54
(Received via mailing list)
Yet another newbie question here.

My setup is thus:
    I have lighty running with scgi (working fine) on windows XP sp 2.
Rails 1.1 and ruby 1.8.x.

The server and scgi are working.  I know this because I can get a test
page to work easily enough.

I did the following:
ruby script\generate model  Recipe [following the Rolling with Rails
Tutorial]
ruby script\generate controller Recipe

I also have a sql server 2000 database (rubytest) setup with the
following database.yml:

development:
  adapter: sqlserver
  database: rubytest
  username: sss
  password: sss
  host: DBI:ADO:Provider=SQLOLEDB;Data Source=WGCC;Initial
Catalog=database_name;User Id=xxx;Password=xxx;

test:
  adapter: sqlserver
  database: rubytest
  username: sss
  password: sss
  host: DBI:ADO:Provider=SQLOLEDB;Data Source=WGCC;Initial
Catalog=database_name;User Id=xxx;Password=axxx;

production:
  adapter: sqlserver
  database: rubytest
  username: xxx
  password: xxx
  host: DBI:ADO:Provider=SQLOLEDB;Data Source=WGCC;Initial
Catalog=database_name;User Id=xxx;Password=axxx;

When I navigate to localhost/recipe/new, I get the following error:

  Application error (Rails)

Any clues what the issue might be--or how I might get more information
about how to fix this problem?  I'd love to know what I can do to fix
this.

Ben
This topic is locked and can not be replied to.