Displaying 20 results from an estimated 2000 matches similar to: "Need the activerecord-sqlserver-adapter but..."
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 Apr 01
0
activerecord-sqlserver-adapter Gems Not Found HELP!!
Hi there,
I''m running ROR 2.x on Win32
tried to run gem install activerecord-sqlserver-adapter --source
http://gems.rubyonrails.org and get this:
D:\>gem install activerecord-sqlserver-adapter -source http://gems.rubyonrails.org
Bulk updating Gem source index for: http://gems.rubyonrails.org
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find
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:
2008 Jun 30
2
activerecord-sqlserver adapter broken or worse
The activerecord-sqlserver-adapter gem is still sort of available via
gems.rubyonrails.org, but it will not install on machines that have
Rails 2.1 (or its version of ActiveSupport) installed. This has been
confirmed with versions of rubygems through 1.2.
This seems to indicate that Rails is no longer tested against the MSSQL
adapter and that the adapter is also no longer tested against Rails
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
2008 Jan 02
1
Invalid Dates in sqlserver adapter
/usr/local/lib/ruby/gems/1.8/gems/activerecord-sqlserver-adapter-1.0.0/lib/active_record/connection_adapters/sqlserver_adapter.rb"
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2006 Sep 18
1
SQLServer adapter fails to commit on save()
I am writing a test outside of a Rails project, but ''require''-ing enough
to use the ActiveRecord classes. It is connected to SQL Server 2005.
It reads in XML and adds an ActiveRecord object like this :
report = DvrStatusReport.new
:
report.x = y
:
report.save
puts report.id
This outputs a new id each time, but the record doesn''t appear in the
the table according to
2005 Dec 15
2
Migrations on SQLServer ??
Hello all,
I''ve spent a while looking for a sniff of this on the wiki or google at
large..
Does migrations work for SQL Server on 1.0 ?
--
------------------------------
Joyeux Noël
------------------------------
Peter Fitzgibbons
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
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
2008 Jun 02
4
Cannot find sqlserver adaptor for ActiveRecord
I have been trying to find the adtiverecord adaptor for MS SQL server
and attempted to install with the command found on the
http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer
wiki page:
gem install activerecord-sqlserver-adapter --source=http://
gems.rubyonrails.org
I then got the error message:
ERROR: could not find activerecord-sqlserver-adapter locally or in
a
2008 May 13
0
SqlServer Activerecord Adaptor + VARCHAR(MAX) Woes
I seem to be running into various issues between SqlServer and Rails,
and so far have been able to solve everything save for a particular
quirk when running unit tests.
When I run "rake test:units" on my app, it gets so far as to run
db:schema:load. I''m dealing with a legacy database, so it''s loading all
sorts of tables that I don''t care about, but
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
2008 Apr 15
4
ActiveRecord::StatementInvalid in BlogController#index
Hello. I''m trying to do the video tutorial "how to build a blog engine
in 15 minutes with ruby on rails" from the main rubyonrails website,
and I''m getting an error when I try to use scaffold :post after
editing my config file for the mysql database.
Here is the exact error I''m getting:
ActiveRecord::StatementInvalid in BlogController#index
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
2009 May 25
4
after_create and has_one association bug?
Hello,
I''ve come across an issue that I''m sure is a bug when using after_create
with a has_one association, but I''m not 100% certain if I''m missing
something.
This is pretty much exactly the code I''m using. Two simple classes
(Account and Contact) and I create the contact after I create an account
(via after_create). I''m not passing in a
2009 May 27
12
query on Ruby array
Looking for suggestions on following two queries.
Query 1
------------------------------
Are the two following lines of code different in Ruby / Rails ( in a
*.html.erb) file.
<% if @forms.count != 0 %> <!-- first code -->
Vs.
<% if @forms.count %> <!--second code -->
@forms is an array of objects. Coming from "C" language development
background, i thought
2010 May 05
6
form remote tag :before=> function problem
Hi I have a strange problem, I am using the below code
form_remote_tag :url => ''/abc/test'',:before => "return hello();",
:update=>''test_categories'' ,:complete => "Element.hide(''spinner'')",
:loading => "Element.show(''spinner'')" do
I am using :before=> function to validate the
2006 Jan 12
9
Is RoR on SQLServer suitable for a commercial application?
Good Evening,
I need some advice. I am in a position at work where I''ve got the boss
pretty excited about rails. I think I could swing the Next Generation
version of our product to use rails as the platform, but I find myself a
little hesitant to do so until I''ve answered a few issues that I''m hoping
people on this list could help me with.
Firstly, we are tied to
2009 May 05
4
modalbox rails var interpolation
Howdy everyone.
I am using modalbox which is very nice an easy to use. I have this
for an edit for a company listing:
<td><%= link_to(''Manage Companies'', {}, :onclick => ''Modalbox.show(\''/
companies/edit/#{company.id}\'', {width: 600}); return false;'') %></td>
The link is not putting the company.id in it puts #{
2019 Jan 29
3
Conexion a SQLServer
Buenas,
Alguno usa alguno de los paquetes de Microsoft R para la conexion a SQL Server? De ser asi, que paquete y que comandos usais?
Yo hasta ahora he usado odbc, de Rstudio, pero me da siempre problemas con el tipo de datos que tiene SQLServer ...
Un saludo
Jes?s
[[alternative HTML version deleted]]