Displaying 20 results from an estimated 2000 matches similar to: "[SPAM] Problem with scaffolding on test setup"
2006 Mar 13
2
Connectivity to Microsoft SQL Server using ADO
Based on this page:
http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer
using this specification
development:
adapter: sqlserver
database: database_name
host: server_name
username: user_name
password: your_pw_here
in database.yml for your SQL Server connection doesn''t work. Some
debugging code reveals that only the password comes through into
2006 Mar 28
8
Problem connecting with an SQL Server 2000 database
Hi,
I?m working on a rails application that uses data from an existing ms sqlserver 2000 database.
Unfortunately I can?t get the connection to work properly.
I used http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer to make the connection.
- Inserted the ado.rb
- Changed my database.yml to
development:
adapter: sqlserver
database: database_name
host:
2006 Jun 14
0
Mssql Multiple Database Access Error
Hi All,
I am having a problem to access multiple databases with mssql
I am running Ruby 1.8.4 and Rails 1.1 on Windows 2000 Advanced Server.
I am simply trying to integrate the application I wrote before for
Oracle to Mssql. The application works perfectly with Oracle with the
installed driver OCI8. The app retrives data based on a search criteria
from those databases.
I followed the directions
2006 Nov 04
0
Weak DBI support for MSSQL (was rails and MSSQL transactions)
There is something seriously wrong with DBI support for SQL server. I
have tried both DBI::ODBC and DBI:ADO and the following code always
fails.
---------- Code
require ''dbi''
host= "DEVELOPMENT_DATABASE_SERVER"
database="adventureworks2000"
username="someusername"
password="Somepwd"
db = DBI.connect("DBI:ADO:Provider=SQLOLEDB;Data
2007 Sep 26
1
Ruby on Rails | MS SQL Server 2005 | Configuration
Request: Full description of mechanims required to intergrate current
Ruby / Ruby on Rails with MS SQL Server 2005
Environment:
* Ruby 1.8.6-25
(ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32])
* Rails 1.2.3
* ruby-dbi 0.1.1 (installed dbi,dbd_ADO)
* OS: Windows XP Professional sp4
* MS SQL Server Express 2005 installed on local machine
Background:
I have used various settings for the
2009 Sep 09
0
Setting up Ruby for use with MS SQL 2008
Hello there!
I am pretty close to being able to develop in rails, but I keep
running into a problem with my setup in connecting to my MS SQL
database. When I try to navigate to my control page, I get the "..but
something went wrong" page. In the dev log I get the following error:
Unable to load driver ''ADO'' (underlying error: uninitialized
constant DBI::DBD::ADO)
I
2006 Jan 05
3
MS SQL server connection problems
I am trying to connect to a remote sql server and I am getting the
following error:
c:/ruby/lib/ruby/site_ruby/1.8/DBD/ADO/ADO.rb:57:in `connect'': Open
(DBI::Databa
seError)
OLE error code:80004005 in Microsoft OLE DB Provider for SQL Server
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist
or access
denied.
HRESULT error code:0x80020009
Exception
2006 Oct 11
0
ActiveRecord + SqlServer 2005, looking for feedback
Hi!
I''ve just started using AR on top of SqlServer 2005 (through ADO:
http://www.softiesonrails.com/articles/2006/06/28/activerecord-with-sqlserver-without-rails).
Not a Rails site per se, but I''m using AR and ruby to build data aggregation
tools.
If you have used AR with SqlServer 2005 and met quirks or caveats of some
kind, I''d be happy to get some feedback from your
2006 Jun 28
0
RV: RV: error in VB6 aplication
This error appears when y try to login into a SQL server .
I run the aplication Silverlab.exe ( in VB6) , and in the first windows
appear a image and two butonms 1 for exit an 2 to login ... I press a bottom
"Login " and ....
in a windows the wine put:
Database Engine Open Error !
Server Name :
Connection_String = Provider=SQLOLEDB.1;Persist Security Info=False;User
ID=sa;Initial
2008 Jan 17
6
Problems with sqlserver 2000 and ActiveRecord
Hi,
I''m getting some trouble in connecting to a sql server 2000
database with ActiveRecord-2.0.1 and ruby 186-26, from
win XP.
Using the next conenction config:
ActiveRecord::Base.establish_connection(
:adapter => "sqlserver",
:database => "nombre_bd",
:username => "usu",
:password => "contra"
)
I have the next error:
2006 Mar 02
5
Instiki and SQL Server??
Hello. I reeeeally want to get Instiki running at my day job, but they
are Microsoft-heads. While I can probably sell them on trying Rails,
they are definitely going to want the database to sit in our SQL Server
instance with our other databases. I can''t get instiki to create the
tables in sql server though (I''ve added ADO.rb, and gotten a
connection). When I run the
2009 Feb 05
1
Need the activerecord-sqlserver-adapter but...
Hi... I am new to RoR development, and Web development in general (but
have about 25 years of IT/software experience - just not in the Web
area)... I have a really good RoR 2.X book that I have read and reread a
few times and starting to try to apply what I read... Have a Web app
that I need to write at work, and prove to folks that RoR is THE_WAY,
despite their ASP .NET protests otherwise...
So,
2006 Jan 23
4
Proposal: Deprecate ADO support in the SQL Server adapter
The SQL Server adapter can currently operate in two modes, ADO and
ODBC, each of which uses a different interface to access the db. The
ADO interface is currently the default, while ODBC can be specified as
an option.
I propose this situation is reversed, and that use of the ADO
interface is deprecated, if not removed altogether. Here are some
reasons, I'm sure there are more:
a) ADO uses
2006 Jun 03
1
Unable to connect to ms sql server.
I get the following error message when trying to connect to ms sql
server:
Open
OLE error code:80040E4D in Microsoft OLE DB Provider for SQL Server
Login failed for user ''XXXXXXXX''.
HRESULT error code:0x80020009
Exception occurred.
I google''d for those error codes but nothing useful so far. To set up
ruby for ms sql server, I followed the
2007 Sep 04
0
RoR on windows with MS SQL Server DBI:ADO driver Memory Leak
i''m running ruby 1.8.5 and rails 1.2.3 on windows with a bunch of
mongrels that are proxybalanced via apache 2.2.4
the db adapter i''m using is the sqlserver one in ADO mode. so it''s using
win32ole.
when a mongrel service is freshly started it consumes about 40 megs of
ram. but about each and every request is leaking memory. about 20 megs
per hour(!!!).
so after half a
2009 Feb 28
0
activerecord-odbc-adapter 2.0 failed to allocate memory
I''m currently trying to connect rails to a legacy SqlServer database. System
is windows XP and my attempts to connect with activerecord sql adapter and
ADO.rb file failed miserably (I wrote a mail about it before)
So it seems like odbc adapter is more recent compared to sql adapter and
probably more used. I''m using active_record_store as session store, and
probably the first
2009 May 13
0
rubytest.vim 0.9.5 released
Hi guys,
I''m pleased to announce that rubytest.vim 0.9.5 is just released.
Rubytest.vim is a vim (http://www.vim.org) plugin, which helps you to
run many kinds of ruby test (including vanilla test, rspec, shoulda etc.)
in vim.
Changelog
---------
+ Support quickfix: display test errors/warnings in vim quickfix window,
jump to the place where error raised in source
2007 Dec 10
8
could not find activerecord-sqlserver-adapter locally or in a repository
I''m trying to connect to a SQL Server db. I thought I installed the
DBI component per the instructions, but its not working.
When trying to start the ruby server, I get the message:
Please install the sqlserver adapter: `gem install activerecord-
sqlserver-adapter`
But when I try to install the repository, I get this error message:
could not find activerecord-sqlserver-adapter
2008 Nov 04
0
Hi Everyone
I am Generating the Excel sheet using the ruby on rails
I installed the gem spreadsheet/excel
and the spreadsheet
and in my code i wrote the lines
require ''spreadsheet/excel''
require ''spreadsheet''
i used to format the excel sheet
wb = Spreadsheet::Excel.new(path) # creates the Excel sheet
ws = wb.add_worksheet("employee") # creates the work
2007 Sep 10
12
mongrel_rails service on windows incompatible with recent ruby builds?
i was suffering from a massive memory leak in my application. after
searching and testing for quite a while i finally found that it wasn''t
my app that had a leak but the win32ole support that was used by the
ADO driver in sqlserver adapter.
the solution to fix the leak was to install ruby 1.8.5p52 or 1.8.6p36
but sadly as soon i install one of the fixed releases mongrel won''t