Displaying 2 results from an estimated 2 matches for "definitely_not_sa".
2009 Jun 09
3
NameError what is it?
...the log file. When I see the first few lines, it appears that
rails is trying to logon as ''sa''. The database.yml file has the
following contents.
development:
adapter : sqlserver
mode : odbc
dsn : Driver={SQL Server};Server=<server>
database : ODS
username : <definitely_not_sa>
password : <pwd>
The log file also shows this :
NameError (uninitialized constant ProcessJobsController)
Not sure how to interpret this message.
The contents of the log file follows:
/!\ FAILSAFE /!\ Mon Jun 08 08:42:58 -0500 2009
Status: 500 Internal Server Error
28000 (18456)...
2009 Jun 08
2
Connecting to SQLServer
New to rails. Installed rails on my XP desktop, and setup my first app
that will use an existing SQLServer database. I am able to connect to
SQLServer using odbc with following code.
require ''rubygems''
require ''ActiveRecord''
ActiveRecord::Base.establish_connection(
:adapter => ''sqlserver'',
:mode => ''odbc'',
:dsn