similar to: Getting a model to connect to a different DB

Displaying 20 results from an estimated 10000 matches similar to: "Getting a model to connect to a different DB"

2006 Sep 21
10
Can I use 2 DB connections in my app?
Hi there! How can i use 2 database connections in my rails application ( if it''s possible of course ): one for reading from DB and one for writing to DB? Thanks, Dmitry -- 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
2006 Jan 09
4
Switching databases in Rails v1.0 app
Hello, I need some guidance. I have a need to: a) Login, validating against a "system-level" user database - no big deal, then b) Depending upon the login, select a customer database for processing. For instance, assume that my login profile lists an area of interest: cars, motorcycles or boats. Each of these has a database, with identical table formats. If my login shows my area of
2009 Jan 08
1
Problems with RPM Database, usual techniques not working to recover DB
I have a CentOS 5.2 i386 Development server that has a rpm db problem that I can't seem to solve. I have followed all the advice on Daniel Berrange's page on rpm db recovery: http://people.redhat.com/berrange/notes/rpmrecovery.html With no results, all I get from "rpm -qa" is list of two public gpg keys that are listed in the file system root. My question is where do I start
2005 May 17
3
The error in R while using bugs.R function
Dear R users, I followed the instuctions on Dr. Gelman's web to install all of documents that bugs.R needs, but when I try to run the school example that the web posted in R, I got an error: couldn't find function "bugs", what's wrong? Thanks, Jia
2005 Nov 17
1
Histogram over a Large Data Set (DB): How?
Hi! I'm new to R, and I have a question about how R works with large data sets --- in particular, data sets that come from databases. I'm using R 2.2.0 with the DBI package (0.1-9) and the RMySQL package (0.5-5). My get-my-feet-wet-with-R project is to make a histogram from a data set stored in a MySQL database. In particular, I have a table that describes some observed spam emails.
2005 Dec 19
2
Difficulty using correct moldel for the data in DB
Hi everyone, I''ve tried posting the same question to the list last Friday but somehow did not see it being posted.. I''ve just started with Rails and Ruby. I just started to play one of those RPG and to get my feet wet I''m writing an app to keep track of item fusions. So the scoop is that item can be fused with another items to create a higher level item. The higher
2011 May 16
0
Six Feet Up - In Search of Systems Administrators
Six Feet Up is currently looking for two Systems Administrators. The Systems Administration Team is responsible for installing, maintaining and supporting servers for all of Six Feet Up's hosting clients and for Six Feet Up's own uses. --Typical Day In this job, you are not likely to have a typical day. Your time won't be spent just answering phones, watching server logs, and
2009 Mar 26
2
loading and manipulating 10 data frames-simplified
I have to load 10 different data frames and then manipulate those 10 data frames but would like to do this in a more simplified code than what i am doing. I have tried a couple of approaches but cannot get it to work correctly. So the initial (bulky) code is: #Bin 1 #------- #Loads bin data frame from csv files with acres and TAZ data Bin1_main <-
2007 Dec 02
1
Asterisk on Solaris
I submiited to the list last night, but it never showed up. Here we go again. I've tried building Asterisk 1.4.15 on Solaris based on instuctions here, http://forums.digium.com/viewtopic.php?t=5888. However, this is the message I get. This is Solaris on X86. Any ideas? [CC] stdtime/localtime.c -> stdtime/localtime.o stdtime/localtime.c: In function `localsub':
2013 Jul 01
1
[LLVMdev] Problem with building llvm and running project
Hello, i am new to LLVM and i want to create my own project with a cpp file which calls llvm functions and then run it. I download clang source, llvm source and compiler-rt source. I tried to configure and build llvm using this http://llvm.org/docs/GettingStarted.html#getting-started-with-llvm but it failed because .h files included on top of the Hello.cpp couldn't found. Can you tell me
2011 Jan 30
1
how to enter frequency type data in R with class intervals
Dear all, Given data of a continuous frequency distribution with class intervals .. how to enter such data so that we can use the normal mean, median and mode functions to calculate them and also can draw histogram .. for example how to enter this data in R Height range[image: ↓]<http://en.wikipedia.org/wiki/Frequency_distribution#> Number of students[image: ↓]
2010 Dec 05
2
HA8 cards and RED alarm
Hi, I have 2 servers: one is running 2 B410P cards with 8 euroisdn lines (mISDN) connected on it, everything runs fine. I prepare a new server - HP 360 G8- with 2 HA8 cards each of them 1 module of 4 lines. Already had with this machine an RMA on both cards as they was faulty and crashed the server. What happends is that when I connect cables on the HA8 modules (those cables are unpluged
2006 May 05
2
Info
Hi all, anyone could pls explain me what does it means ? It a part of zaptel.conf file. LBO= Line Build Out 0: 0 dB (CSU) / 0 - 133 feet (DSX-1) 1: 133 - 266 feet (DSX-1) 2: 266 - 299 feet (DSX-1) 3: 399 - 533 feet (DSX-1) 4: 533 - 655 feet (DSX-1) 5: -7.5 dB (CSU) 6: -15 dB (CSU) 7: -22.5 dB (CSU) Thanks Giordano -- No virus found in this outgoing message. Checked by AVG
2012 Dec 21
2
dahdi timing source multiple cards
I have a box with 12 T1s (4 Te410P cards). The PSTN provider is reporting slips and ask me to update the clock source. I have my system.conf set as the following but when I run dahdi_scan only the ports on Card 1 are showing up with syncsrc=1 system.conf : span=1,1,0,esf,b8zs bchan=2-24 mtp2=1 span=2,2,0,esf,b8zs bchan=26-48 mtp2=25 span=3,3,0,esf,b8zs bchan=49-72
2006 Jan 18
1
Helps!!!!! Rails database connection guru needed!!!!!!!
Hi, I really need help to understand what is happening while Rails connect to a database, (we area actually using postgresql, so my example will be with postgresql) What I understand is Rails is able to connect to different DB. Actually, this is what we want, and we have made some tests, everything is juste fine. However, all these tests lead us to some important questions that we did find the
2012 Feb 03
2
Junghanns QuadBri install help
Hi, I have a Junghanns QuadBri installed and seems to be detected and working correctly using the wcb4xxp driver All ports are configured as TE The problem is when I connect an ISDN line - the LED turns green and Dahdi status shows Alarm OK But when I try to make a call I get "All circuits are busy" cause 27 I have searched and web and tried numerous configs but it doesn't want to
2004 Jul 21
1
roblems with Junghanns QuadBri
I installed the QuadBri card in my * server. I'm installing * on a RedHat 9 server I run the install.sh file. So far no problems. If I try to start /sbin/ztcfg -v -c /etc/zaptel.conf I will see the following error: Zaptel Configuration ====================== SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) SPAN 2: CCS/ AMI Build-out: 399-533 feet (DSX-1) SPAN 3: CCS/ AMI Build-out:
2005 Oct 09
8
Zaptel Line Build Out
Can someone who is knowledgable in the traditional telco space please give me a layman's explanation (or point me to an appropriate url) of LBO as per the zaptel configuration file? # The line build-out (or LBO) is an integer, from the following table: # 0: 0 db (CSU) / 0-133 feet (DSX-1) # 1: 133-266 feet (DSX-1) # 2: 266-399 feet (DSX-1) # 3: 399-533 feet (DSX-1) # 4: 533-655 feet (DSX-1)
2005 May 16
1
A question about bugs.R: functions for running WinBUGs from R
Dear R users, I've found bugs.R : the functions for running WinBUGs from R that is writen by Dr. Andrew Gelman who is a professor from Columbia University. The bugs.R would be very useful for me, and I think many of you know it as well. I followed the instuctions on Dr. Gelman's web to install all of documents that bugs.R needs, but when I try to run the school example the web posted in
2014 Feb 12
1
Problem/error with DAHDI tools 2.9.0.1
Hello, Getting this error on dahdi_cfg. Reverting to 2.8 the error goes away: *line 15: Unable to create 'dahdi_cfg' mutex.* Is this a problem? Thanks in advance. Full detail: [ebox]> dahdi_cfg -vvvvvvv DAHDI Tools Version - 2.9.0.1 DAHDI Version: 2.9.0 Echo Canceller(s): HWEC Configuration ====================== SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1) SPAN 2: