similar to: Dynamic Database Connections

Displaying 20 results from an estimated 2000 matches similar to: "Dynamic Database Connections"

2010 Jun 15
2
ActiveRecordConnection from jobs script
Hi, I make a cron jobs and I would like to use ActiveRecord. but I have this error: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'': ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished) Do I have to require
2006 May 03
11
Curse words
Hello, I just had a problem with someone cusing on my rail app now is there somthing like Red Cloth that I can use to disable ''dirty words'' -- Posted via http://www.ruby-forum.com/.
2009 May 29
2
[LLVMdev] make TEST=ipodbgopt in sqlite3: problem with TCLSH
On Linux, when I run "make TEST=ipodbgopt" in MultiSource/Applications/sqlite3 I get: make[4]: Entering directory `/home/foad/llvm/poo/build/test-suite/MultiSource/Applications/sqlite3' Compiling shell.c to Output/shell.bc /home/foad/svn/llvm-project/test-suite/trunk/MultiSource/Applications/sqlite3/speedtest.tcl make[4]: execvp:
2011 Sep 08
1
Magic Multi Connections gem + Rails 3.1
Hello, Like in topic, did anyone tried to run this gem under 3.1? I''m getting error that mirror_db_connection is not valid key: ArgumentError: Unknown key: mirror_db_connection from /Users/nopik/.rvm/gems/ruby-1.9.2-p180@christmas/gems/ activesupport-3.1.0/lib/active_support/core_ext/hash/keys.rb:44:in `block in assert_valid_keys'' from
2007 Oct 05
5
PostgreSQL, templates, and test databases
Hi everyone. I''m having a bit of a problem with an application I''m currently developing with Rails 1.2.3 and PostgreSQL, attempting to use test-first development. Here''s the scenario: * I have the usual three databases, with migrations. Testing has been working beautifully. * I need to store geographic data, so I add PostGIS to all three databases (along with
2004 Feb 03
2
Jim diGriz''s QoS Script
Hi sombody know what is happen with Jim diGriz''s QoS Script Web Page ? www.digriz.org.uk/jdg-qos-script Regards _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2010 May 13
20
HTML and CSS to PDF
I would like to take a rails page and convert it to a pdf. I don''t want to have to generate the code myself for making the pdf, so it should obey css. What is the best tool for doing this? Does the tool use the standard css, or can I provide it alternative print-css? Thanks in advance, Jonathan Steel -- Posted via http://www.ruby-forum.com/. -- You received this message because you
2010 Jan 26
6
Subclassing ActiveRecord::Base
First of all, sorry for the crossposting, but I put this into the Ruby Forum first of all, but was pointed to this as a more appropriate location. I''m using ActiveRecord and ActiveSupport in a non-rails environment to connect to multiple databases, and I''ve found the following (single database) to cause me an error. Note that params is my database settings and omitted for
2010 May 12
10
Rails and PostgreSQL ???
Hi every one How are you? after a days and searching in forums i still can not find some things that helping me to connect Rails with postgre SQL of course those are helpful but not for a stupid person like me :D So i need my friends helping me here and advice me to how can i connect this two things (ROR and Postgre Sql) I need your help so much My eyes going blind because of searching and
2005 Sep 27
4
Voice Encryption
Hi, Does Asterisk support encryption of voice traffic? I found following wiki that describes IAX RSA authentication. I was able to implement the public/private key authentication among three Asterisk servers connected using IAX protocol. I am not certain if voice traffic can also be encrypted among the Asterisk servers. Your help is highly appreciated.
2017 Mar 15
2
R <- POO
De hecho, dos de los principios de diseño de R son: 1) Todo lo que existe es un objeto. 2) Todo lo que sucede es una llamada a una función. Un saludo, Carlos J. Gil Bellosta http://www.datanalytics.com El 15 de marzo de 2017, 14:22, <miguel.angel.rodriguez.muinos en sergas.es> escribió: > Disiento, Javier. > > R sí es un lenguaje orientado a objetos. > > :-) > >
2009 Jun 22
5
has_many through , or habtm , using form
i think there ara two ways of relate products and categories , basically i want to fix one product(e.g hp dv7....) to some categories (notebook,17"notebooks...) i made a table named categorization(incuding category_id,product_id fields) then in models i write these codes below class Product < ActiveRecord::Base has_many :categories, :through => :categorizations
2009 Aug 19
10
acts_as_list / acts_as_tree / acts_as_nested_set - which one
I am creating forum application which needs usage of acts_as_list or acts_as_tree or acts_as_nested_set. I am unable to decide among these. please could some one recommend from their experience? -- Posted via http://www.ruby-forum.com/.
2009 Oct 27
14
Authlogic Password confirmation is too short Error. NEED HELP.
Hi: I am using authlogic, and following railscast tutorial. I am running into this error code with the password confirmation. authlogic password confirmation is too short Has anyone experienced this error? I need your help. Thanks in advance for your help.
2010 Apr 17
12
Does Access 2003 work on Wine?
Hi All, I am trying to convert a customer over to Linux workstation, instead of upgrading to Windows 7. One last program to go. I can not get Access 2003 to work with CentOS 5.4's Wine 1.0.1. I am set to upgrade his test workstation to Fedora 12 and the latest Wine in a month or so. (Access 2003 crashed when you try to open a database.) Does anyone know if Access 2003 works in the latest
2009 Aug 13
10
default value if textfield is empty
Hey all, im not sure where to set a default value if a textfield is empty? For now i do it in the controller, and check if the submitted parameter is blank. But this seems not to be the best solution... Thanks for your help! -- Posted via http://www.ruby-forum.com/.
2006 Dec 11
3
--stats
Is there a way to get --stats to display in something other then bytes? ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
2010 Aug 30
16
<b> tag in HTML 5 (was Re: Re: assert_select for <p><b>text</b>value</p>)
On 30 August 2010 15:47, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > Colin Law wrote: >> I have the following html >> <p><b>text</b>value</p> >> I can use >> assert_select "p>b", "text" >> to check the text portion, and >> assert_select "p", "value"
2018 Jan 09
0
Revolutions blog: December 2017 roundup
The blog post that the vocal range directs to is *highly* offensive and off color and in very poo taste to share with this group. -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of David Smith (CDA) via R-help Sent: Tuesday, January 09, 2018 12:47 PM To: r-help at r-project.org Subject: [R] Revolutions blog: December 2017 roundup Since 2008, Microsoft
2010 Jun 14
7
"NoMethodError in AdminController#index" error
hi, im totally a newbie so i have got no idea whatsoever why i got this error, the thing that happend was i was doing a little coding along with the lynda.com rails series that i got this error. well as u can see this is the error which i get on terminal, but there is another one in browser too which says : "NoMethodError in AdminController#index " u can see it in the picture here :