Displaying 20 results from an estimated 20000 matches similar to: "Rails + SQLServer"
2006 Apr 20
1
error on stpexec : ROR on Linux with SQLServer Connection
So I got my rails app to connect to the SQLServer via ODBC, and I can
model/scaffold, yada yada..
but when I need to exec a stored proc using sql_server.rb I get
undefined local variable or method `connection''
how can that be, if I can connect for everthing else?
thanks
--
Posted via http://www.ruby-forum.com/.
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
2019 Jan 30
2
Conexion a SQLServer
Hola,
Yo empleo RODBC, previamente he creado el origen de datos ODBC en mi
equipo y hago:
library(RODBC)
odbc_con <- odbcConnect("origenODBC")
siniestros <- sqlQuery(odbc_con,"
SELECT *
FROM tal.tal")
odbcCloseAll()
Con VPN en remoto y demás, sin problemas. Saludos.
-------- Mensaje Original --------
Asunto: Re: [R-es] Conexion a
2011 May 22
11
Problems Connecting to SQL Server
Hi all
I want to connect my app to MSSQL but when i type
rake db:migrate
an erro occured like this:
←[31mCould not find gem ''odbc (>= 0, runtime)'' in any of the gem sources
listed in your Gemfile.←[0m
this is my YML file:
development:
adapter: sqlserver
mode: odbc
dsn: ontrack
host: BABAK-PC
pool: 5
timeout: 5000
and in my gem file
gem
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
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]]
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
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
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:
2009 Jun 09
3
NameError what is it?
I have the following code in app/controllers/processjobs_controller.rb
#
class ProcessJobsController <ApplicationController
def index
@ProcessJobs = ProcessJobs.find(:all)
end
end
#
This is my route file ..
ActionController::Routing::Routes.draw do |map|
map.resources :ProcessJobs
map.connect '':controller/:action/:id''
map.connect
2014 May 07
2
FW: acelerar conexión con RODBC
Estimado Patricio Vireri
No mire Rmysql hoy pero por esas cosas de la vida decidieron no
compilarlo en windows, hay varias alternativas, pero particularmente no
use ninguna.
MariaDB ahora tiene grafos, por si le sirve.
Si compilo Rmysql no es un principiante, entonces pregunta de
principiante ¿si solo usa odbc? Le pregunto esto porque cuándo yo usaba
mac compre a una empresa " conexión
2006 Apr 26
1
List shows always first page
Hello!
I''m a beginner of rails.
I made a simple test project with rails 1.1.2 and ruby 1.8.2 on Windows
XP.
DB is SQLServer 7.0.
I''m connecting the server thru ODBC.
I created a table named "users" with about 10 columns.
I inserted 1000 sample records.
I created a scaffold for user model and login controller for it using
the script.
Everything''s fine
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
2012 Dec 19
2
Olly Betts, Has anyone tested the new Edit Distance(SQLServer) algorithm compared to the current one? Thank you.
Olly Betts, Has anyone tested the new Edit Distance(SQLServer) algorithm compared to the current one? If you need any inditional information or code, please let us know. Thank you.
2012 Nov 26
1
Connect R with SQLSERVER
Hi,
Here im not able to connect with MS-SQLSERVER database with *.R-File.
Previously i was able to do in R in different machine and configuration was
R Ver-2.11.1
Package Installed : RODBC_1.3-2
And now where im doinig now there the same code im trying to execute but its
not connecting.
configuration is,
R Ver-2.12
Package Installed : RODBC_1.3-2 - here iam trying to install (RODBC_1.3-6)
which
2011 Jan 06
4
Not able to insert value in rails console
I am using authlogic for authentication in rails 3.0.3 with ruby 1.9.2
Using activerecord-sqlserver-adapter (3.0.5)
windows with sqlserver database
when i create user details in rails console, i am getting below error,
>User.create(:login=>''test'',:password=>''test123'',:password_confirmation=>''test123'')
2010 Jun 19
2
Voicemail ODBC
I have Asterisk 1.4.32 and I would like save all VoiceMail to MSSQL 2008
database. I configured ODBC, but I receive this errors.
[Jun 18 14:00:37] NOTICE[19914] res_odbc.c: Connecting sqlserver
[Jun 18 14:00:37] NOTICE[19914] res_odbc.c: res_odbc: Connected to
sqlserver [kupalaodbc]
[Jun 18 14:00:37] WARNING[19914] app_voicemail.c: SQL Prepare
failed![SELECT COUNT(*) FROM pbx_VoiceMail
2009 Feb 27
1
Realtime mapping for 'queue_log' found to engine 'odbc', but the engine is not available
Hi,
I am trying to log queue_log to odbc (MS SQL) I have res_odbc.conf
configured and modules.conf have
preload => res_odbc.so
preload => res_config_odbc.so
extconfig.conf has queue_log => odbc,asterisk.
When I start asterisk I get the following messages. The important one being:
Realtime mapping for 'queue_log' found to engine 'odbc', but the
engine is not available
2014 May 07
5
acelerar conexión con RODBC
Hola a todos...estoy usando MariaDb como base de datos (similares caracteristicas a MySQL), y la conexión entre R y esta con RODBC.¿Existe alguna forma de incrementar la conexión para carga de datos ya que son largos, ejm: 3000 registros en 1 minuto...Si conocen de esto o me pueden sugerir alternativas, estaré agradecido.
Patricio.
[[alternative HTML version deleted]]
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