Displaying 20 results from an estimated 100 matches similar to: "Oracle Sequence & Rails"
2006 Mar 01
4
Oracle Bug
I''m using 2 database. The first wrote in MySQL and the second in Oracle.
If i use the command "SET_TABLE_NAME" to forge the model to use another
table, there isn''t no error with MySQL, while with Oracle if i ask the
view "_Form.rhtml" The compiler tell me "No sequence in SELECT
TableName_seq.nextval id from dual"(???).
Could someone tell me where
2005 Aug 18
3
Mouse Problems
Hello Folks,
I hope that you are well. I have installed CentOS 4.1 and I have an MS mouse.
The mouse pointer can be moved around BUT I cannot click on anything menus and
such, even during the install the mouse isn't operational for clickage. Any
thoughts. Any help would be most welcome. I am using an Avocent SwitchView MP,
but its made no difference in installing Core 3 or any other OS.
2006 Feb 14
6
Rails on Sun
Hi Everbody,
I''ve got a potential idea for introducing Rails to my company. My only
shot at this is to minimize what our Ops guys would have to install and
configure to get this up and running.
Right now, our servers are Solaris boxes and we are using Sun ONE as our
web server.
Anyone got Rails running in this environment?
Also, has anyone got Rails talking to Oracle databases?
2006 Jun 24
1
select or select_tag ?
hello PPL,
I''ve seen now that the _form.rhtml generated by script/scaffold is
populated by
<%= text_field ''model'', ''field'' %> without _tag!
but only text_field_tag is to be found in the 1.1.2 documentation..
(like in the rest of Module ActionView::Helpers::FormTagHelper there
is _tag)
I''ve tried to use <%= select instead of
2005 Sep 14
3
SunFire X2100 and X4100
Anyone seen either of these "in the wild" yet? RHEL3/RHEL4 are install
options so I'm assuming CentOS will just work out of the box, but I
thought I'd ask here. The 2100 seems like a viable alternative to
whitebox 1RU boxes that we currently use, especially with the new dual
core processors.
Cheers,
2003 Sep 17
1
WG: smbadduser problem
-----Urspr?ngliche Nachricht-----
Von: nome cognome [mailto:digiland_oohay@yahoo.it]
Gesendet: 17 September 2003 09:30
An: Brian Reichholf
Betreff: Re: [Samba] smbadduser problem
----- Original Message -----
From: "Brian Reichholf" <brian.reichholf@login.co.at>
To: <samba@lists.samba.org>
Sent: Wednesday, September 17, 2003 9:42 AM
Subject: [Samba] smbadduser problem
2005 Nov 06
11
Ideal Rails / Apache config?
Hi All,
Just about to set up RoR on our server and was wondering what the
ideal setup for RoR is these days? Apache 1? Apache 2? fCgi?
Any guidance would be helpful!
Thanks,
-Adam
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)
2009 Aug 20
1
Understanding R code
What is
1. par.ests <- optimfit$par
2. fisher <- hessb(negloglik, par.ests, maxvalue=maxima);
3. varcov <- solve(fisher);
4. par.ses <- sqrt(diag(varcov));
Thanks a lot,
fit.GEV <- function(maxima)
{
sigma0 <- sqrt((6. * var(maxima))/pi)
mu0 <- mean(maxima) - 0.57722 * sigma0
xi0 <- 0.1
theta <- c(xi0, mu0, sigma0)
#10/5/2007: removed assign() for maxima.nl
2005 Nov 15
11
Collecting thread: Too many open files (Rails+SCGI crash)
I have a problem with running Rails 0.13.1 with scgi_rails 0.4.3 and
Apache. After running for some time (more than a day), the SCGI
process stops with the following error (from scgi.log):
--
[ERR][24189] Collecting thread: Too many open files
[ERR][24189] /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:188:in
`accept''
2005 Dec 28
4
"valid users" + ldap on Solaris 10 problems
Hello,
We have just migrated a server from sun solaris 8 to sun solaris 10. In
the old machine we had a Samba 3.0.20b and in the new one, we have samba
3.0.21, both compiled like this with no problems:
env LD_FLAGS="-L/usr/local/lib" ./configure --with-ldapsam --without-pam
--with-quotas --with-ldap --with-included-popt --with-acl-support
--with-libsmbclient
We share user's
2008 Jan 06
1
Error: missing value where TRUE/FALSE needed
Can any explain the following error:
Error in if ((seedCount <= seedNumber) && (valueDiff >
sup)) { :
missing value where TRUE/FALSE needed
which I get upon running this script:
seedNumber <- 10
seeds <- array(dim = seedNumber)
seedCount <- 1
maxValue <- 100
sup <- maxValue / 2
fcsPar <- array(as.integer(rnorm(100, 50, 10)))
while (seedCount <=
2008 Jan 06
1
Error .. missing value where TRUE/FALSE needed
Can any explain the following error:
Error in if ((seedCount <= seedNumber) && (valueDiff >
sup)) { :
missing value where TRUE/FALSE needed
which I get upon running this script:
seedNumber <- 10
seeds <- array(dim = seedNumber)
seedCount <- 1
maxValue <- 100
sup <- maxValue / 2
fcsPar <- array(as.integer(rnorm(100, 50, 10)))
while (seedCount <=
2010 Jun 18
0
Simple search in ror
Hi,
i need to implement a simple text function for the app i dev now.
1- the form in app/views/layouts
<% form_tag({:controller => "teachers", :action => "search"}, :method =>
"get") do %>
<%= text_field_tag :query, nil, :id => "search-text" %>
<%= submit_tag("GO", :id => "search-submit") %>
<% end
2006 Mar 01
2
Oracle auto_increment ??? & Rails
To make a new istance of an Oracle table with Rails, i need that this
table had a column named ''id''. This ''id'' must be Primary Key &
auto_increment;.
How Can I modify the ''id'' properties to do it Auto_increment in Oracle?
--
Posted via http://www.ruby-forum.com/.
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 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
2007 Oct 08
0
Camping-list Digest, Vol 18, Issue 1
UNSUBSCRIBE
On Oct 5, 2007, at 1:27 PM, camping-list-request at rubyforge.org wrote:
> Send Camping-list mailing list submissions to
> camping-list at rubyforge.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://rubyforge.org/mailman/listinfo/camping-list
> or, via email, send a message with subject or body ''help'' to
>
2003 Sep 17
0
AW: WG: smbadduser problem
Thanks fort he advice John, i read that on the link that nome sent. I filled
it out in the smb.conf, and edited the usermap file, then restarted the smb
server, and it didn't work *shrugs* it works fine with ftp, so that'll do
for now.
Thanks anyway.
Cheers,
-brian
-----Urspr?ngliche Nachricht-----
Von: John H Terpstra [mailto:jht@samba.org]
Gesendet: 17 September 2003 15:04
An: Brian