Displaying 20 results from an estimated 1000 matches similar to: "Connect multiple DB in rails project using AR"
2013 May 14
1
PuppetDB Cannot Find Postgresql Driver
Puppet 3.3.1 // CentOS release 6.4 (Final)
rpm -qa | grep puppet
puppetlabs-release-6-7.noarch
puppet-3.1.1-1.el6.noarch
puppetdb-1.3.0-1.el6.noarch
puppet-server-3.1.1-1.el6.noarch
puppetdb-terminus-1.3.0-1.el6.noarch
Installed from yum packages:
Running Transaction
Installing : puppetdb-1.3.0-1.el6.noarch
2004 Nov 12
3
xen dies on Linux agpgart interace
Xen appears to kernel panic. Boot up terminates and hangs with the
message "agpgart: Maximum main memory to use for agp memory: 152 M. "
This is a compiled Xen-2.0 latest snapshot with agp support in the kernel.
Has anyone else had similar problems with agp?
Nate
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express
2004 Nov 18
2
Informix database
We use Informix database. I was able to connect to the database with
S-PLUS by using its CONNECT/Java through the JDBC driver.
How can I connect to Informix with R, wither using JDBC or any other
method? we run Linux so I prefer a method other than ODBC.
Thankx for the help
2010 Oct 12
1
append rows to Sybase datatable using RJDBC
Hi,
Does anyone have experience using RJDBC library to write to Sybase
datatable? The jdbc driver I am using is jConnect 6.0. I can
successfully write into a new datatable, but have problem appending rows
to existing one. It either complains "Table *** already exists" or
simply overwrite the existing one. Here is the example.
I am trying to append 'data' to the existing
2010 Apr 28
1
Trying to get Rails working with Sybase ASE
Hi
I''m trying to use the activerecord-sybase-adapter to be able to use ASE with
my rails applications.
But, I am struggling...
I followed (most of) the steps on this informative page:
http://trevoke.net/blog/2009/09/11/connecting-to-sybase-with-rails-on-windows-xp/
Initially I had Rails 2.3.5 installed.
I copied the "Ruby Sybase files" as instructed and the Sybase dll files
2004 Nov 05
7
Lockup at boot with nFroce SATA
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
Is the sata_nv (based on SCSI) driver supposed to work with Xen?
When I tried to boot my dom0 kernel recompiled with the sata_nv drivers
enabled my kernel locks up, I guess when probing the first drive
connected via S-ATA. ("Screenshot" here:
<URL:http://mjh.name/xen.lock.1.jpg>) (Kernel also says that partition
tables of the
2006 May 16
18
Ruby''s purpose?
Before I get flamed, I just want to start off by saying that I am new to
Ruby and I really enjoy this language and want to see it succeed.
But, what niche does this language fill?
These are serious question, not a put down of the language.
Does it has something to offer for Web 2.0?
Is it just another scripting language?
Does it suppose to replace something else?
Does it suppose to work with
2009 Mar 17
11
Refactoring module
Dear all
Please see the following module, In module SX3 SX4 and SX5 have similar
class Tasklist, but inherit from different class.
I will use the following code to connect to different data sources
RemoteSX3Model.establish_connection sx3_hash
RemoteSX4Model.establish_connection sx4_hash
RemoteSX5Model.establish_connection sx5_hash
How can I refactor my code in module to look simpler? Thank you
2009 Oct 14
18
sybase in rails2?
Has anyone actually gotten the activerecord-sybase-adapter to work in
Rails2?
I can''t seem to, and can''t figure out why. I am on RedHat linux.
I have the sybase client libraries installed, I have the adapter
installed. After installing the patch at
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2455-update-for-sybase_adapter#ticket-2455-4
to get a slightly
2013 Sep 18
3
pxechn.c32 halting
I upgraded from syslinux 4.x to syslinux 6.01 and am now having issues with
pxe chaining. I've tried moving up as far as 6.02-pre16, but I'm still experiencing the same problem. The original config called the next server as follows:
LABEL Cobbler
KERNEL pxechain.com
APPEND 10.x.x.x::pxelinux.0
Which worked for the previous version, but I started getting an error after
2009 Feb 24
4
Cannot pass id field to ActiveRecord
Dear all
I have a dummy question. The model code as follow:
class User < ActiveRecord::Base
set_primary_key "username"
end
In script/console
user = {:username => "123", :display_name => "345"}
=> {:username=>"123", :display_name=>"345"}
a = User.new(user)
=> #<User username: nil, display_name: "345">
2008 Dec 10
12
image_tag cannot show picture
Dear all
I am new to rails.
In view, I place the following code, but cannot show the picture in the
webpage
<%= image_tag("green.JPG") %>
However, I can access the picture in this url
http://localhost:3000/images/green.JPG
The HTML source code generated
<img alt="Green" src="/images/green.JPG.?1228211220" />
I cannot identify the problem. Please help
2007 Jun 08
1
JRuby and tests
Using JRuby / ActiveRecord-JDBC / PostgreSQL 8.1 I get
jruby --command rake test
(in /Users/stevel/Publisher)
rake aborted!
Task not supported by ''jdbc''
Is it really the case that testing is not yet supported by
ActiveRecord-JDBC or am I missing something obvious?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2010 Jan 28
2
How to execute an arbitrary script when a puppetclient ask for a manifest?
Hi,
I would like to use Puppet in the cloud (think gogrid) to configure
stem images.
Virtual machines are created/destroyed on the fly under control of a
load monitor.
For this reason we cannot sign manually new Puppet clients, instead,
we must use Puppet''s autosign feature.
At the moment, Puppet just permits to filter client manifest requests
with some regex over the hostname of the
2014 Feb 10
1
pxechn.c32 halting
On Thu, Sep 19, 2013 at 5:13 PM, Gene Cumm <gene.cumm at gmail.com> wrote:
> On Wed, Sep 18, 2013 at 4:09 PM, Chris Valentino
> <chris.valentino at 1010data.com> wrote:
>> I upgraded from syslinux 4.x to syslinux 6.01 and am now having issues with
>> pxe chaining. I've tried moving up as far as 6.02-pre16, but I'm still experiencing the same problem. The
2009 Jan 30
1
How to call UNIX environment variable in rails
Dear all
How can I call the UNIX environment variable in my rails project?
For example
echo $HOME
/path/to/my/home/dir
Thank you very much
Valentino
--
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
2004 Nov 10
5
etherbridge bottleneck
I ran some iperf tests today and it looks like the etherbridge
is the limiting factor on throughput. In the beforetime, I saw great
throughput to the VMs; over 800 Mbps. With the bridge, the numbers
are in the 400s somewhere.
Is this the speed I can expect from the bridge?
Is there some tuning I should try, or another way to get more bandwidth
into the VMs?
This is with xen-2.0, 2.4.27-xen0
2003 Jul 11
4
module : cdr_sybase.so
If anyone is interested ... just in case! :-)... I have tried to write ,
based on the cdr_mysql.so module, an Sybase module.
To compile you can use something like that:
export SYBPLATFORM=linux
export SYBASE=/opt/sybase
cc -I$SYBASE/include -c -o cdr_sybase.o cdr_sybase.c
cc -shared -Xlinker -x -o cdr_sybase.so cdr_sybase.o -lsybdb -lm
-L$SYBASE/lib
(anyone could write the corect Makefile
2009 Feb 10
1
need help with installRExcel()
Struggled a whole day, but still could not get DCOM working on my machine.
What I did is:
1. Installed R 2.8.1 under folder "../R/R-2.8.1"
2. Installed R_Scilab_DCOM3.0-1B5 under folder ".. \R\(D)COM Server"
3. Installed packages: rscproxy_1.0-12, RExcelInstaller_3.0-10,
rcom_2.0-4...
4. run the following commands:
library(rscproxy)
library(rcom)
2006 Feb 01
5
Sybase ctlib Adapter
Hi,
I''ve been trying to update Will Sobel''s sybase-ctlib adapter to pass
unit tests on Rails 1.0. It''s been a slow, sloggy process for me so
far, as I''ve been learning Ruby, Rails, and Sybase administration all
in one go. (c: It''s been a saving grace to have a good starting
point (thanks Will!).
http://dev.rubyonrails.org/ticket/2030