similar to: Oracle auto_increment ??? & Rails

Displaying 20 results from an estimated 300 matches similar to: "Oracle auto_increment ??? & Rails"

2006 Mar 02
1
Insert a data in Oracle with Rails
Hi, I tried many things to insert a data in an Oracle Table, but the Rails compiler never Works! I create this Oracle table: CREATE TABLE "FOO" ( "id" int NOT NULL primary key, "acolumn" VARCHAR(10) NULL ) and when i tried to insert a new row the Rails compiler tell me : OCIError: ORA-00904: invalid column name: INSERT INTO AGO.FOO (acolumn, id)
2006 Feb 22
5
Moveable Type import question.
Hello RoRsters'', I''ve just started my first project with ROR, and frankly it''s pretty amazing, there are many things that still haven''t "clicked" for me yet but essentially it''s all coming together. My first project is a basic blog application to replace a current Moveable Type based blog. I''ve managed to get the basic functionality
2006 Feb 20
2
Oracle & Ruby on Rails
I''ve a remote database create using Oracle. This database use schemas. I tried to connect to it using Ruby On Rails,with this file Database.yml : development: adapter: oci host: liber database: ENERGIA username: user password: pass test: adapter: oci host: liber database: ENERGIA username: user password: pass production: adapter: oci host: liber database:
2006 Mar 24
1
Radio Button Tag and hash @Params.
Hi, I''ve a little problem using the Radio Button Tag. I use the " @prove=MODEL.column_names() " to keep attribute names of a table. After i used this code to select a attribute subsets of them : <% i=''0''%> <% for @obj in @prove %> <% @key='':key''+i%> <%= radio_button_tag (@key,@obj) %> <%
2006 Mar 24
2
check_box_tag
hi, What''s the right way to use the CHECK_BOX_TAG? I used: <% for @pippo in @model %> <%= check_box_tag (:scelta,@pippo) %> <% end %> How Can I control if a person choosen the second or third element of the vector @pippo? -- Posted via http://www.ruby-forum.com/.
2006 Mar 27
1
Get in RoR!
How can i rescue the variable value pass with a get method? thanks, Ivan. -- Posted via http://www.ruby-forum.com/.
2006 May 03
6
New Release: One-Click Ruby Installer 1.8.4-17 release candidate 2
We are almost there to a final release. The uninstall issues have been fixed, and a few packages have been upgraded to more recent versions. Many thanks to Ryan Leavengood and Shahank Date who stepped in to help finish off this release! *** Only "show-stopper" problems will be fixed *** We are extreme short of manpower at the moment. So as much as I would like to address each and every
2006 Mar 01
7
Oracle Sequence & Rails
the compiler tell me it: invalid column name: INSERT INTO ago.prova_stats (cognome, nome, id, telefono) VALUES(''Medda'', ''Ivan'', :id, 70565611) where ago.prova_stats is the table used by me and that have only the columns ''cognome'',''nome'' and ''telefono''. My table hasn''t the column
2003 May 31
5
parse on left hand side of R assignment
I keep finding myself in a situation where I want to calculate a variable name and then use it on the left hand side of an assignment. For example iteration <- 1 varName <- paste("run",iteration,sep="") myList$parse(text=varName) <- aColumn I want to take some existing variable "aColumn" and use the name "varName" name for it and put it into a
2005 Jul 22
1
find confounder in covariates
Hi, I was wondering if there is a way, or function in R to find confounders. For istance, > a = sample( c(1:3), size=10,replace=T) > X1 = factor( c('A','B','C')[a] ) > X2 = factor( c('Aa','Bb','Cc')[a] ) > Xmat = data.frame(X1,X2,rnorm(10),rnorm(10)) > dimnames(Xmat)[[2]] = c('z1','z2','z3','y') Now,
2003 Jun 17
2
Paste and namespace
Hi, my doubt is very simple. I'm sure I've seen someone using something like this before, but unfortunatelly my searches in the archives were useless. Well, I have some objects called after a name that has a number attached to it, varying. Let's say I have: > ls poly1 poly2 poly3 poly4 poly5 poly6 ... I would like to access these objects using a for(), in which I could do
2010 Mar 01
3
Success moving Xen LVMs from 32 to 64bit host
Just wanted to share some success I had moving some Xen guests from one server to another. Problem Recap We had Xen host on a single core 32-bit CentOS 5.4 installation on an AMD Athlon 2.1 GhZ system that was giving hard drive errors and needed to move the LVM-backed Xen images to another server. The replacement server was a quad-core AMD Phenom system running 64-bit CentOS 5.4. Our original
2011 Mar 01
3
inefficient ifelse() ?
dear R experts--- t <- 1:30 f <- function(t) { cat("f for", t, "\n"); return(2*t) } g <- function(t) { cat("g for", t, "\n"); return(3*t) } s <- ifelse( t%%2==0, g(t), f(t)) shows that the ifelse function actually evaluates both f() and g() for all values first, and presumably then just picks left or right results based on t%%2.
2006 Mar 27
3
Specify a controller action via attribute in INPUT tag?
I have a pre-existing form with one existing "SUBMIT" tag generated by <%= submit_tag %> I would like to add another <INPUT type="submit" ...> to my form. How do I successfully associate that <INPUT> tag with a different controller action than the default one specified by my <%= start_form_tag %>? Or does this approach even make sense? In RoR, is
2006 Mar 27
5
Fake ActiveRecord model?
Hi all, I have a legacy table which I cannot get to work with ActiveRecord (no ids etc). All I want is to create a class which opens a connection manually and allows me to execute some plain SQL statements. What I can''t figure out is how to either build up a connection and execute queries from a non-AR inherited class, or how to create a AR-inherited class minus all the AR magic and
2019 Sep 06
1
[PATCH v4 15/16] virtio-fs: add virtiofs filesystem
On Thu, Sep 05, 2019 at 03:15:15PM -0400, Vivek Goyal wrote: > On Tue, Sep 03, 2019 at 09:55:49AM -0400, Michael S. Tsirkin wrote: > [..] > > What's with all of the TODOs? Some of these are really scary, > > looks like they need to be figured out before this is merged. > > Hi Michael, > > One of the issue I noticed is races w.r.t device removal and super >
2006 Apr 05
0
Any Rails developers in Bristol/South-West UK?
I''m looking for a Rails developer to help with a sexy mobile music industry project local to the South-West of England preferably close to Bristol. Any interested parties? cheers Mark Panay www.markpanay.com Jargon Free Web Development
2008 Mar 12
4
imap sent-mail folder sometimes dosen't get updated when used by more than a mailer at the same time.
Hi, I'm collecting users feedback of latest dovecot 1.1.rc3 development release. Some users are complaining that their sent mails sometimes don't get written to imap Sent-mail folder. It seems that all these users were using multiple istances of imap processes to read their mail (thunderbird+horde-imp, evolution+horde-imp or multiple thunderbird istances). No error message is written in
2006 Feb 20
0
custom_require.rb:21:in `require__'': no such file to load --
My application give me Error 500 and I get this in Apache log. /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- initializer (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from /var/www/myapp/public/../config/boot.rb:16 from /var/www/myapp/public/../config/environment.rb:10 from
2006 Apr 03
1
attribute select problem
Hi, I''m searching a metod to do a selection suck as: Select attribute1,attribute2 from table where conditions I know that the "find()" and "find_by_sql" methods takes all the attribute...But i want only attribute1 and attribute2...Can someone tell me if there''s a method that give me this opportunity? Thanks,Ivan. -- Posted via