similar to: two connections to the same database

Displaying 20 results from an estimated 40000 matches similar to: "two connections to the same database"

2006 Jun 21
2
raw sql and columns order
Hi, I''ve a model with the following method: def self.run(sql) return connection.select_all(sql) end so, the value returned is an array of hashes... the problen is that the sql command: "select name, id from table" and select id,name from table" returns the columns in the same order (name, id). And in my view, I need to keep the order of the SQL command.
2006 Jul 18
7
Observer not working
Help please. I''m trying to observe a User class, but I can''t get this to work, the after_create method never gets called... (the breakpoint never gets called) app/models/user_observer.rb: class UserObserver < ActiveRecord::Observer def after_create(user) breakpoint setting =
2006 May 24
2
Gallery2 integration
Is anybody working already in a gallery2/rails integration? I need to use it as part of my project, so, before start from scratch with it I''d like to know if already is something out there. Thanks.
2006 Jun 02
5
Firefox extension for ajax debugging
or similar... Is there any extension for firefox so that I can view the source code of ajax returned content? Thanks everybody.
2006 Aug 02
7
String lenth limit
Hi, I''ve seen some time ago a function which, given a string like "this is a very long string" would return , for example limitin it to 10 chars "this is a..." , but I can''t remember where..... I''ve searched throwth the apis of rails and ruby itself and I can''t find it. Thanks everybody..
2011 Apr 17
1
logs show two connections to database even though using static driver
hi, im using: --- passdb { driver = sql args = /etc/dovecot/dovecot-sql.conf.ext } userdb { driver = static args = uid=vmail gid=vmail home=/home/vmail/%d/ mail=mdbox:/home/vmail/%d/%n } -- this works fine on a test machine but i still see *2* instead of 1 connections to the pgsql db before a successful login is logged.. how can i avoid these extra connections?: Apr 17 11:34:49 merlin
2011 Oct 11
18
WineHQ database compromise
Hi, I am sad to say that there was a compromise of the WineHQ database system. What we know at this point that someone was able to obtain unauthorized access to the phpmyadmin utility. We do not exactly how they obtained access; it was either by compromising an admins credentials, or by exploiting an unpatched vulnerability in phpmyadmin. We had reluctantly provided access to phpmyadmin to the
2006 Jun 27
2
Using a different layout/styleshheet
Hi, I have a view that I use to display and capture data. Once the user has input the required data, I then need to be able to print the view. I know that I can setup a stylesheet to take care of the page layout but it is not clear to me how I will make the print view call the new layout. If anyone could clarify this or point met in the right direction, I would be most grateful. Regards, Paul
2009 Mar 25
3
[LLVMdev] LLVM and GMP
Hello I've been looking to LLVM, in order to develop a compiler for a cryptography oriented language. I started by following the tutorials on Kaleidoscope, and I must say they were very usefull. Now I need to use GMP, so i can add Big Integer support. I am trying to change Kaleidoscope to support BigIntegers instead of doubles, but I don't really know how to do that. I'd really
2006 May 20
2
Migrate database to a new one using migrations.
Hi, I''ve an applicattion actually in production wich i wrote in php last year. Now, I''m working on a new version in Ruby/Rails. So, can someone tell me how can I generate a migration so that every time I run it the "data" from the old db get''s copied to the new one?? Note that _I''ve already the schema, I want something that automatically could
2009 Dec 18
4
Cannot see server in win Neighborhood (again)
Hello u all, sorry to bring this issue back again, but I?ve been searching and trying all the advices suggested in previous posts and I still can?t see the samba server in the win network neighborhood. I can see the samba shares from win via net view \\servername but if I issue a plain "net view" samba won?t show up. only the win machines, the same i can see on the Neighborhood...
2006 Feb 02
1
Two foreign keys to the same table
Hi, I''ve two tables: ProductLists (id, name, ...) Product (id,name,product_list_1_id, product_list_2_id, ...) How can I map the fields product_list_1_id and product_list_2_id to the ProductLists table in activerecord????? Thanks. -- Posted via http://www.ruby-forum.com/.
2004 Oct 23
1
rssh: pizzacode security alert
PIZZACODE SECURITY ALERT program: rssh risk: low[*] problem: string format vulnerability in log.c details: rssh is a restricted shell for use with OpenSSH, allowing only scp and/or sftp. For example, if you have a server which you only want to allow users to copy files off of via scp, without providing shell access, you can use rssh to do that. Additioanlly, running rsync, rdist, and cvs are
2011 Oct 15
4
Thoughts regarding the database compromise....
1] not using secure http for log-ins seems a bit 20th century. 2] to join this mailing list, I needed to send my new credentials over unsecured http - see 1] above. 3] to change password from the compromised reset password, I need to use unsecured http - see 1] above. My point here is that if you are saddened, upset or concerned about the compromise, might the 3 above points also be on the list
2010 Sep 15
2
lapack in R 2.11.1 (Ubuntu 10.04.1)
Hi there, I'm trying to install the package RcppArmadillo in my R 2.11.1 which I installed and regularly update via Ubuntu's repositories. When I try to install RcppArmadillo from CRAN I get: > install.packages('RcppArmadillo', lib='~/myRlibs') [...] g++ -shared -o RcppArmadillo.so RcppArmadillo.o fastLm.o -L/home/matias/myRlibs/Rcpp/lib -lRcpp
2004 Feb 21
2
a story of compromise and an idea
There is a cluster of machines which I have an account on which was recently compromised. the machines have thousands of users and the only access is via ssh. via some mechanism (probably a weak password) the attacker was able to compromise a single account and use a local-root exploit to hijack lots of ssh-agents and any unpassword protected keys. they next tried to repeat the process for every
2017 Jul 13
1
System users lookup via PAM: strip the domain name?
Will %{original_username} set %d as well? Sent from my Sprint Samsung Galaxy S8+. -------- Original message --------From: Aki Tuomi <aki.tuomi at dovecot.fi> Date: 7/13/17 12:34 AM (GMT-06:00) To: Dovecot List <dovecot at dovecot.org>, Larry Rosenman <larryrtx at gmail.com> Subject: Re: System users lookup via PAM: strip the domain name? > On July 13, 2017 at 4:27 AM
2006 Aug 10
1
reusing previous code
Hi, I have a couple of controllers, views, models and mailers for a given functionality (for example, user registration). ?what is the best way to share them between multiple applications so that I don''t have to copy them over and over again? Thanks.
2008 Dec 10
1
DSA harmful for remote authentication to compromised hosts?
Hello! I'd just like to run this by some people who are more familiar with the RSA and DSA algorithms and their use within (Open)SSH. I've been using OpenSSH happily with the assumption that using key-based authentication (RSA or DSA public keys pushed to .ssh/authorized_keys on remote hosts) provides a number of benefits, including an important security-related one -- Logging in to a
2006 Mar 12
1
Problem with --partial and rsync algorithm
Hi, I'm running the following command for a remote host backup: /usr/local/bin/rsync -a --delete --delete-excluded -v --timeout=120 -z --no-whole-file -partial --partial-dir .rsync-partial --exclude=/sys/* --exclude=/tmp/* --exclude=/stuff/distfiles/* --exclude=/stuff/sistema/* --exclude=/stuff2/ftp/* --exclude=/stuff2/backup/* --exclude=/home/ftp/* --exclude=/home/gentoo/* --exclude=/mnt/*