similar to: dynamic queries

Displaying 20 results from an estimated 3000 matches similar to: "dynamic queries"

2006 Apr 11
6
Reduce Number of Queries When Using ActiveRecord
I have a controller method called update_all that grabs parameters for about 30 form fields and saves them to the database. My current code looks to see if there is a string in params[] for each form field (two fields for each SelfEvaluationItem) and saves the updated self_evaluation_answer if a string is available. Since this is iterated code, I am almost certain that this generates 30 or so
2004 Sep 13
6
Migrate BACK to WINDOWS -> Talk me out of it QUICK
Not thinking about migrating back due to issues, it is more due to implementation needs and a little situation I have been wrestling with with for a bit now, and would love some feedback First a little history: We currently have 10 locations connected via a dedicated 1/2 T-1. Last year I migrated from a WINNT domain to a Samba/LDAP domain. It has been running great. Basically did this for
2007 Jul 11
2
inquiry about anova and ancova
Dear R users, I have a rather knotty analysis problem and I was hoping that someone on this list would be able to help. I was advised to try this list by a colleague who uses R but it is a statistical inquiry not about how to use R. In brief I have a 3x2 anova, 2 tasks under 3 conditions, within subjects. I also took a variety of personality measures that might influence the results under the
2005 Aug 28
1
monitoring with mrtg
Dear freinds, The pl script file which is available in the asterisk monitoring section of the voip-info.com expects username ,password and host parameters . Which one we should provied is the acconts we registered for asterisk or any thing else your help will be immensely appreciated . with regards rk _______________________________________________________ Too much spam in your inbox?
2006 Apr 21
1
HABTM - two lists
Does anyone know of a good example somewhere of an implemention for adding records with HABTM relations that have lots of possibilities. The best way that I''ve seen it done is where you have two lists (multiple select lists) where you have the possibilities on the left and ones you''ve added on the right with arrows to add and delete items. But the only ways I know how to
2006 Mar 06
1
Announce of our Xen project; Routing simulation with Einar
Hello all, Some time before Christmas, a project was started. The task was to enhance an existing LiveCD solution with User-mode Linux. A number of requirements was stated, where the greatest challenge was to fit 10 virtual routers within an old no-name PC with only 256MB Ram. And the solution must still be run from a LiveCD. Thanks to Xen, the task was possible to complete. -But, what does it
2005 Aug 11
1
Migrating UW-POP3 mbox storage to Dovecot POP3 mbox storage
Hi We have an mailserver running RedHat Linux 9.0 with UW-IMAP (imap-2001a- 18.progeny.1.src.rpm), we have user mailboxes in /var/spool/mail/username using the default mbox storage method. Some users have home directories and some dont. They only connect through the POP3 server, not IMAP. We are now migrating both hardware and software to an new server running RHEL 4, i have copied all
2006 Jan 18
1
Rails and PostgreSQL bytea
Hi! I''m trying to insert binary data into a PostgreSQL database where the field is of type ''bytea''. This works fine if a do Base64 encoding but I just want to do character escaping. How do I do this????. What I get is this: ActiveRecord::StatementInvalid in Init_test#save_file ArgumentError: Invalid Ruby/cstring: INSERT INTO
2002 Sep 05
1
Multi subnet
Hello, i got 2 subnets and i want to be able to browse both network from one. I have tried to config samba as i think it shall be but it only works on one side. Anyone know how i shall config samba for this? /Rickard
2006 Feb 13
1
kernel.org 2.6.16-rc2 vs xen-unstable 2.6.16-rc2 - missing buslogic?
Hello, Is there some things removed from the kernel.org kernels before the get into xen-unstable? I was just about to compile a new dom0 kernel, and couldn''t find the option for Buslogic SCSI driver i xen-unstable kernel synced earlier this morning. I find this a bit strange, as I know the option is there in kernel.org''s 2.6.16-rc2. The config option was somehow lost in 2.6.15
2005 Sep 07
3
channels VHF/ HF radio in asterisk
Hy, I have a network with WIFI communication and VHF/ HF channels. I have integrated asterisk in the network using SIP, ZAP and IAX2 channels for WIFI communications, but I don't Know How I could integrate the VHF/ HF channels. I have heard speaking about app_rpt project, but I don't Know very much about this. Could I integrate VHF/ HF channels with this application? if the answer is
2006 Mar 01
2
safe html links
Hi, I''m working on a web app that allows users to submit links to external sites. I''m curious if there are any special security considerations I should take aside from escaping the user input with h( )? Is it safe to directly link_to h(user_inputted_url), h(user_inputted_url) or could that be exploited in a way that I''m not thinking of. Thanks. -------------- next
2004 Aug 25
3
Wine and industrial communication like OPC
Hello! I have some questions about Wine and how/if it can be used with industrial communication like OPC (MicroSoft Com/DCom objects, DDE and more) My short question is: Can I use Wine to make OPC communication work with a Linux system. OPC "OLE for Process Control" A "general" standard for communication in industrial systems, that unfortunately is totally depending on
2019 Oct 27
3
[fdo] xorg-xf86-input-keyboard license
Hello I am developing X application nowI have one question about xorg-xf86-input-keyboard license I checked following file https://github.com/freedesktop/xorg-xf86-input-keyboard/blob/master/COPYING  This file show MIT licene And I found following file  https://github.com/freedesktop/xorg-xf86-input-keyboard/blob/master/src/lnx_kbd.c   * Portions based on kbdrate.c from util-linux 2.9t, which
2013 Apr 23
2
Feature request: Configure CONFIG_MODULE_DIR and AUTH_MODULE_DIR at runtime
Hi! I am running dovecot 2.1.16 on NixOS (http://nixos.org), and I have been fighting the dynamically loaded dovecot modules/plugins a bit. The problem is that in Nix/NixOS all packages are completely isolated from each other (each package has a separate /lib, /libexec, /bin etc, with only its own files in it). So dovecot has all its modules under
2012 Oct 21
5
Error occured while evaluating nil
This is the code if !params[:ratings].nil? params[:ratings].each_key do |r| @selected_ratings << r @movies << Movie.where(''rating = :rating'', :rating => r) @sort = params[:sort] end elsif @selected_ratings = @all_ratings @movies = Movie.order(@sort) @sort = params[:sort] end This is the error You have a nil object
2013 May 08
5
[LLVMdev] Shared library support of llvm
According to http://llvm.org/docs/CMake.html, "Shared libraries are not supported on Windows and not recommended in the other OSes". The problem is that static libraries have some limitations, especially when linked into multiple shared libraries, the global data of llvm could have multiple copies leading to undefined behaviors. This has caused much pains during my usage of llvm. My
2002 Dec 29
4
MRTG and Shorewall
Hello. Is there any command in the shorewall script that prints how many or the hits the last 5 min? /Rickard Eriksson
2010 Jan 21
0
Using spec.ls to interpolate very long time series
I have an very long, irregularly spaced time series (and I'm also new to spectral analysis, so please be patient.) I want to use spec.ls as an interpolator and then use the output to reconstruct the time series via inverse fft. But so far I've been having difficulty doing this. ts<-read.csv("timeseries.csv",header=TRUE) #file contains over 30000 irregularly spaced
2012 Oct 21
2
check box tag binding between controller and the view
I am new to RoR. The problem i am facing is that that i have a few check box and initially when i run my app for the first time i want them all to be selected while for every next time i want it to have the last checked boxes checked. To do this, In my controller i have @all_ratings = Movie.all_ratings @selected_ratings = [] if !params[:ratings].nil?