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