Displaying 1 result from an estimated 1 matches for "idsource".
Did you mean:
dsource
2009 Jun 08
2
Connecting to SQLServer
...#39;',
:dsn => ''Driver={SQL Server};Server=<server>;Database=<db>'',
:username => ''uid'',
:password => ''pwd''
)
class src <ActiveRecord::Base
set_table_name ''Source''
set_primary_key ''IDSource''
end
s = []
s = Source.find(1)
puts s.SourceName
I was able to connect and the code behaves as expected. However when I
try to use database.yml to specify the same connection information, I am
unable to connect using script/dbconsole.
#database.yml
development:
adapter : sqlserver...