Displaying 11 results from an estimated 11 matches for "sqlserver_connect".
2009 Apr 14
6
SQL Server via DBI/ODBC configuration
...ruby/gems/1.8/gems/dbi-0.4.0/lib/dbi.rb:154:in
`_get_full_driver''
from /usr/lib/ruby/gems/1.8/gems/dbi-0.4.0/lib/dbi.rb:139:in
`connect''
from /usr/lib/ruby/gems/1.8/gems/activerecord-sqlserver-
adapter-1.0.0.9250/lib/active_record/connection_adapters/
sqlserver_adapter.rb:47:in `sqlserver_connection''
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
connection_adapters/abstract/connection_pool.rb:223:in `send''
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
connection_adapters/abstract/connection_pool.rb:223:in
`new_connection&...
2005 Mar 10
1
Running unit tests on SQL Server
...c:/program files/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:401:in
`_get_full_driver''
c:/program files/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:381:in `connect''
E:/OpenSource/Ruby/rails/trunk/activerecord/test/../lib/active_record/connec
tion_adapters/sqlserver_adapter.rb:46:in `sqlserver_connection''
E:/OpenSource/Ruby/rails/trunk/activerecord/test/../lib/active_record/connec
tion_adapters/abstract_adapter.rb:148:in `send''
E:/OpenSource/Ruby/rails/trunk/activerecord/test/../lib/active_record/connec
tion_adapters/abstract_adapter.rb:148:in `connection=''
E:/Op...
2009 Jan 23
7
RubyOnRails with MS SQL - Connectivity Error
...reporting.rb:11:in
`silence_warnings''
D:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/core_ext/kernel/requires.rb:5:in
`require_library_or_gem''
D:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/sqlserver_adapter.rb:28:in
`sqlserver_connection''
D:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:292:in
`send''
D:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:292:in
`conne...
2006 Nov 04
0
ProbleM!!!!!!!!!!!!!!!!!!
...t''
C:/Program Files/Ruby/lib/ruby/site_ruby/1.8/dbi.rb:424:in `connect''
C:/Program Files/Ruby/lib/ruby/site_ruby/1.8/dbi.rb:215:in `connect''
C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/
connection_adapters/sqlserver_adapter.rb:41:in `sqlserver_connection''
C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/
connection_adapters/abstract/connection_specification.rb:251:in
`connection_without_query_cache=''
C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/
query_cache...
2005 Dec 20
9
Rails Configuration Question
Hello Everyone,
I have been reading this mailing list for a while and am impressed with the
generous help that many here are eager to provide. Perhaps someone will be
able to shed some light on a configuration issue I am having. Thank you in
advance for any assistance.
First, system setup details:
#System Setup#
* OS: Fedora Core 4 running in a VMWare box on Windows XP
* Database: MS SQL
2008 Feb 29
17
Is SQL Server not supported in RoR on the Mac?
...from /usr/local/lib/ruby/site_ruby/1.8/dbi.rb:227:in
`_get_full_driver''
from /usr/local/lib/ruby/site_ruby/1.8/dbi.rb:213:in `connect''
from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-sqlserver-adapter-1.0.0/lib/active_record/connection_adapters/sqlserver_adapter.rb:46:in
`sqlserver_connection''
from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in
`send''
from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specificat...
2006 Jul 05
2
Serialized object behaves weird
Hi!
I got a class named EinsatzFilter which I serialized to session. Before
saving to session it works afterwards I keep getting the message:
"undefined method `to_s'' for #<Person:0x38c6ab8>". "Person" is a from
ActiveRecord::Base inherited class.
Code:
class EinsatzFilter
include ApplicationHelper
attr_reader :personen, :monat, :projekte, :kunde
2005 Dec 19
5
using a local MS SQL Server
...y/1.8/DBD/ADO/ADO.rb:57:in `connect''
c:/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:584:in `connect''
c:/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:384:in `connect''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connect
ion_adapters/sqlserver_adapter.rb:40:in
`sqlserver_connection''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connect
ion_adapters/abstract/connection_specification.rb:145:in
`send''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connect
ion_adapters/abstract/connection_specification.rb:145:in
`c...
2009 Jun 09
3
NameError what is it?
...9;'
d:/ruby/lib/ruby/gems/1.8/gems/activerecord-sqlserver-adapter-2.2.18/lib/active_record/connection_adapters/sqlserver_adapter.rb:26:in
`new''
d:/ruby/lib/ruby/gems/1.8/gems/activerecord-sqlserver-adapter-2.2.18/lib/active_record/connection_adapters/sqlserver_adapter.rb:26:in
`sqlserver_connection''
d:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in
`send''
d:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in
`new_connection&...
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
2010 Jan 03
24
SQLServer on Rails
Does any one know how to setup SQLserver with ruby1.9. It was working
on an earlier version and now nothing works! I have installed the
gems dbi ,dbd-odbc and activerecord-odbc-adapter and can connect in
straight Ruby. However, using rails with database.yml nothing works!
I hosed everything and reinstalled rails and now, I get Win32/Parite
virus on ruby.exe. Any ideas? I''m losing