similar to: multi-sql problem?

Displaying 20 results from an estimated 800 matches similar to: "multi-sql problem?"

2006 Aug 02
2
mangle ActiveRecord
Dear Gurus on Rails! How do I change the behaviour of one method in ActiveRecord::ConnectionAdapters::SchemaStatements ? Full story: I''d like to mangle ActiveRecord::ConnectionAdapters::SchemaStatements so when it creates a new sql table, it also (optionally) creates my created_at, deleted, key_id, session_id etc columns that I use on basically all tables. It would not be DRY to repeat
2011 Nov 21
5
R ignores number only with a nine under 10000
Hello R users, I'm trying to replace numerical values in a datamatrix with strings. R does this except for numbers under 10000 starting with a 9 (eg 98, 970, 9504 etc). This is really weird and I wondered whether someone had encountered such a problem or knows the solution. I'm using the next script: test_1 <- read.table("5+ref_151111clusters3.csv", header = TRUE, sep =
2009 Oct 25
4
Multiple line commands in R scripting
I'm wondering whether there is a character to let R know to expect more input for a command on subsequent lines. Here is an example: test_1.R: x <- c(1,2,3,4) / c(1,2,3,4) x R CMD BATCh test_1.R produces test_1.Rout: > x <- c(1,2,3,4) > / c(1,2,3,4) Error: unexpected '/' in " /" Execution halted test_2.R: x <- c(1,2,3,4) / c(1,2,3,4) x R CMD
2006 May 28
9
Railsmanual.org
Did anyone else catch the redesign? I don''t know who''s responsible, but it''s lookin better! Good job... -- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060528/f9f92618/attachment.html
2007 Nov 06
1
User keywords limit to 26
Hi, I'm planning to use dovecot 1.0.5 for a webmail using a lot of user- defined tags. Recently, I just saw the limit of 26 of them when messages are stored in maildir format. This is an important issue for me, since I didn't find how to remove a flag from the dovecot-keywords database. Is there any plan to get rid of the keywords limit ? Or perhaps the new dbox storage format can
2016 Mar 15
0
Building smbclient 4.3.3 issues with lttng-ust
We are building smbclient 4.3.3 for Intel, which was working fine. We got a toolchain update, which added the lttng-ust libraries(previously missing in our toolchain), but not lttng/tracef.h and now we get an error in the config.log: Checking for lttng-ust pkg-config --errors-to-stdout --print-errors --cflags --libs lttng-ust Package lttng-ust was not found in the pkg-config search path. Perhaps
2011 Nov 21
1
quota.h
Hi configure samba4 with --with-sys-quotas and check bin/config.log see this message: ------------------------------------------ Checking for header sys/fs/vx/quota.h ==> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> #include <stddef.h> #include <memory.h> #include <string.h> #include <strings.h> #include
2014 May 31
0
broken samba-4.1.7 waf configure
31 may 2014 greetings, in the (relatively distant) past, i several times downloaded, built, and ran the then-current version of samba with little to no problem. i recently experienced similar successful results with samba-3.6.23. i downloaded and tried to configure samba-4.1.7, which you (samba) advertise as the current "stable" version. i expected no problems. unfortunately, i
2006 Jun 13
11
Question: Migration - multiple creates
I want to create a migration file that creates multiple tables, so i''m guessing the correct format would be: Can anyone confirm ? I''m guessing that each new create script requires a seperate class so formatted this way. Perhaps I''m wrong. TIA Stuart class CreateTable1 < ActiveRecord::Migration def self.up create_table :table1s do |t| t.column :length,
2014 Jun 21
1
broken samba-4.1.8 waf configure
21 jun 2014 the version numbers changed (samba-4.1.8), but the problem remains exactly the same: waf configure continues to break at krb5. frank smith 31 may 2014 greetings, in the (relatively distant) past, i several times downloaded, built, and ran the then-current version of samba with little to no problem. i recently experienced similar successful results with samba-3.6.23. i
2009 Sep 11
1
call Fortran from R
Dear R users, I have to call fortran program from within R (R 2.8.1 on ubuntu 8.10 machine). Suppose I have a fortran code like this (this is only a toy model, my working model is far more complex, but input/output is similar) DOUBLE PRECISION FUNCTION model(times, alfa, beta) DOUBLE PRECISION alfa, beta, times model=beta*sin(times)+alfa*cos(times) END FUNCTION which
2012 Sep 02
1
Cross Compile Samba4
Hi, I try to port samba4beta8 to Optware which includes cross compiling it for various platforms. I already created makefiles for optware for samba versions 3.4 and 3.6. Creating a working makefile for samba4 I try to use the new build environment but it puzzles me. I don't get over part where the python version is being checked. From my findings it looks like the linker dislikes the
2006 Mar 31
2
A.R. Associations problem
Hello, I''m learning A.R Associations by creating a simple forum that consists of 3 tables: ahuthors, topics and posts. This is the schema: class AddAuthorAndTopicAndPostTables < ActiveRecord::Migration def self.up create_table :authors do |t| t.column :username, :string t.column :email, :string t.column :created_on, :datetime end create_table
2003 Sep 04
0
security issues wint smbmount
Dear sirs/madams, I am using smbmount (mount -t smbfs) version 2.2.8a for mounting shares from a Windows 2003 server on a Linux machine. This works fine, but there seems to be a security problem; ordinary users can write to files, even when the Unix protection does not allow this. The user cannot remove the file or create a new one, but can do what he/she wants with an existing one. Is this a
2015 Feb 11
0
Samba 4.2.0rc4 fails to start up
> On Wed, Feb 11, 2015 at 03:22:15PM -0500, Thomas Schulz wrote: > > Checking for C99 vsnprintf : not found > > Can you just hand-compile lib/replace/test/snprintf.c and > paste its output? Maybe take a closer look why it fails? > > That's the test we use to check whether we have to replace > snprintf. > > Volker Perhaps what was
2006 May 25
5
rake migrate VERSION=0 doesn''t appear to execute
All, I''ve decided to jump into Migrations before I get too far along on the DB side of things. I already have some tables built, and I went ahead and built the migration that would have created them from scratch, and I made sure that there was a self.down section to drop them. I wanted to verify that I could roll back so I figured I would use rake to drop these pre-existing tables
2008 Oct 26
3
Undefined method f_title
Hi, This is my migration: class CreateSampleForms < ActiveRecord::Migration def self.add_data SampleForm.create(:name => ''Default (Empty)'', :f_type => ''Default (Empty)'', :description => ''Use this template to create a blank form.'') end def self.up create_table :sample_forms do |t| t.string :name, :null =>
2006 Aug 16
3
Reflecting on associations
Is there an easy way to programatically work out the associations on a model? If not, is there a positive reason it was omitted, or is it just something that hasn''t been implemented yet? Thanks Gareth
2007 May 12
4
Multiply and format with thousands separator
I have just started with Ruby and Rails and am still greatly confuse, finding the usual tutorials not much help. What I want to do is take two numbers from my database, multiply them together and display them in a list with a comma for the thousands separator. This would be very easy to do in a spreadsheet, so I assumed it would be easy to do in Ruby on Rails but I can''t work out how. I
2006 Feb 16
4
newbie question regarding basic AJAX form verification
Hi, I''m confused about how form verification with AJAX works. Let''s say I have a ''new.rhtml'' view that contains a form with two fields, and the form action is ''create''. Let''s assume that I also want to do some type of data validation on one of the two fields via AJAX before I submit the form. But since I''ve already