similar to: singular table names testing

Displaying 20 results from an estimated 200 matches similar to: "singular table names testing"

2006 Mar 09
4
habtm questions
I''ve got some of this working but other parts are ellusive. I have CREATE TABLE `bags` ( `id` int(11) NOT NULL auto_increment, `name` varchar(255) NOT NULL default '''', PRIMARY KEY (`id`) CREATE TABLE `packages` ( `id` int(255) NOT NULL auto_increment, `name` varchar(255) NOT NULL default '''', PRIMARY KEY (`id`) CREATE TABLE
2006 Mar 16
2
how to limit standard layout on action
I have an action/view that I need to return only data (other external processes query this action/view) but I need the standard_layout template to be attached to the other actions/views in the same controller. ie, the editing of the data in the model needs to include all the navigation, except one view which should just return a text/plain output. how do I say "include
2006 Mar 01
2
kickstarting with rails routing problem
I''ve rewritten my kickstart cgi in rails with DB acces to the host list and the testing is perfect. I can send the macaddress in the HTTPrequest Header, rails looks up the macaddr in the machine db and spits back out a kickstart file for the machine.. however in real world usage what I get is a request for http://server//kickstarts/kickme which rails fails with 192.168.20.176 - -
2006 Aug 18
1
join update seperation?
I have a legacy DB without access to change the user or group table (must use StoredProcedures to edit those). But I do have access to the usergroup join so I thought the joins would be pretty much like my other rails apps where I do HABTM checkboxes. I''ve created a page that just shows habtm checkboxes for the join and the updates are occuring for the join but I''m
2006 Jul 06
0
big size file uploading problem w/IE
Hi, I''m now trying to develop application for big files exchanges by Webserver and Browser with rails. There is a browser dependent file uploading problem with Rails. Uploading file is issued from .rhtml like this. <%= form_tag({:action => "upload_file"}, {:multipart => "true"}) %> With IE ( 6.02900 ) a 5 meg file was sent but slowly and it took more
2006 Jul 25
2
join in legacy DB?
I''ve got a problem with some tables that don''t follow any RAILS standards. how do I define the join in the model when all three tables have wacky names? class Machine < ActiveRecord::Base set_table_name "tbl_CodeMgmt_Host" set_primary_key "Id" end class Pool < ActiveRecord::Base set_table_name "tbl_CodeMgmt_Pool" set_primary_key
2007 May 11
0
xen 3.0.4 on FC6 x86_64 install problem with lcrypto
a clean new FC6 system downloading xen src tar ball I get make[3]: Entering directory `/opt/xen-3.0.4_1-src/tools/blktap/drivers'' gcc -O2 -fomit-frame-pointer -m64 -DNDEBUG -std=gnu99 -Wall -Wstrict- prototypes -Wno-unused-value -Wdeclaration-after-statement - D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror - Wno-unused -fno-strict-aliasing -I
2006 Jan 25
1
Rails day 2: where is my association?
I?m following along a few tutorials on the web and trying to implement my own example, but I must be missing something because I can?t get has_many or belongs_to to work like I expected. now I have watched all the videos and made a cookbook several times with different interfaces. what I''m looking for is *not* a code snippet to solve something (because I already have that),
2010 May 10
6
AEC - Echo is cancelled however.....
1) Everytime a participant speaks there is a echo for a short duration (maybe a word or two) but as the participant continues to speak without a any break the echo is 95% cancelled (i.e there is a feeble echo still present if observed very carefully). 2) The moment the participant stops / pauses speaking and start talking again, scenario 1 is repeated as if the echo state has been re-initialized
2010 May 11
2
AEC - Echo is cancelled however.....
I usually use the cross-correlation between the speaker signal and the mic signal. It works pretty well. The problem is the you need enough data in order to get a good S/N. I compute the cross-correlation between 1.5 second data of each signals. In this way the application detection of any anomalies is quite slow. I am looking for something faster, but I fear it will be something very application
2010 May 11
2
AEC - Echo is cancelled however.....
2010/5/11 Elston Sa <jose at rebaca.com>: > Is there an API in speex or have you implemented your own? I don't know if there is an API in speex for this, probably not. There is a test for AEC which does something very similar. I implemented it starting from a FFT library. It is quite easy to do. > > I am currently trying to find one. But if you could point me to one it will
2010 May 10
1
AEC - Echo is cancelled however.....
Yes. I guessed that too, however I am not sure why it keeps repeating every time the user stops / pauses and starts speaking again in a single session. I am using a laptop with standalone speakers. For echo cancellation to work one has to make sure that the ref and echo buffers are synchronized. I guess this is the most common problem. -Elston -----Original Message----- From: Anton A.
2009 Feb 20
2
importing data to SQLite database with sqldf
Hi all, I am attempting to learn SQL through sqldf... One task I am particularly interested in is merging separate (presumably large) files into a single table without loading these files into R as an intermediate step (by loading them into SQLite and merging them there). Taking a step back, I've considered these alternatives: 1) I know if I use straight SQLite commands I might use the
2008 Sep 18
2
dovecot 1.1.3 coredump
I found imap core in coredump dir: (gdb) bt #0 0x00000000004abdea in message_parse_header_next (ctx=0x79c150, hdr_r=0x7fffffffe478) at message-header-parser.c:114 #1 0x00000000004a8193 in read_header (mstream=0x795330) at istream-header-filter.c:162 #2 0x00000000004a84e7 in i_stream_header_filter_read (stream=0x795330) at istream-header-filter.c:288 #3 0x00000000004bc216 in i_stream_read
2006 Aug 31
2
vim timestamp issues on CIFS mounted shares
First: this is my first post on this list so any suggestions, let me know. I recently had to make the move from SMBFS to CIFS when I upgraded from Fedora 4 to 5. Changing settings in my /etc/fstab was easy and no errors come up but now I'm having an issue very similar to post I found on your list that got no response back in April: http://lists.samba.org/archive/samba/2006-April/119813.html
2012 Jun 18
4
Problem with exists? method
Hi, I have a DB with table TABLENAME, column COLUMN and an active resource client trying to connect to the DB. When i do Tablename.find(:all) => i get all the entries from the table But Tablename.exists?(:column => value) always returns false I verified that the above command works from rails console. Dont understand why it always returns false even when there are valid records. And in
2006 Mar 21
4
habtm > join()
I''m trying to pull ou the ''name'' field for each of my associated rows and pass it as a string of names. I''m missing something obvious here but I thought @bag.packages.name.join(", ") would work. do I have to loop through @bag.packages? that seems like the long way. thanks -zac -- Posted via http://www.ruby-forum.com/.
2006 Jan 27
2
simple stuff in rails rhtml
after playing with the DB interaction I''m moving on to doing some file IO. but I''m completly lost as to where to put the code and how to call it. I''m trying to get a list of files in a directory and it''s not obvious to me how to do this in Rails via a controller method. so ruby code is Dir.entries("testdir").last and html code is <%=
2005 Apr 07
3
Fitting a mixed negative binomial model
Dear list members, I want to fit a nonlinear mixed model using the nlme command. My dependent variable takes the form of event counts for different countries over a number of years, and hence I was going to fit a mixed effects negative binomial model. The problem, as far as I can glean from Pinheiro & Bates 2000, is that I need a model that is not normal in the errors. All the models they
2018 Mar 09
2
Demoted dc not completely demoted, maybe?
The "DNS_TYPE_NS" records show the correct DC's (both, I have two). The "DNS_TYPE_A" records show the correct DC's ip addresses. The "DNS_TYPE_SOA" shows the demoed DC FQDN in the "mname" > It should produce the SOA record (after you make the obvious changes), > what 'dnsRecord' objects does it show ? There should a