Displaying 20 results from an estimated 3000 matches similar to: "Oracle 10g Express - generate scaffold gives error"
2005 Jul 27
7
Oracle OCI8, or "am I going crazy?"
All of a sudden, on three different systems, the "server_ip_address/sid_name"
syntax in database.yml has stopped working for me.
I can''t even do a OCI8.new(blah blah blah) statement from an IRB shell.
I get "ORA-12541: TNS:no listener", or some variant, depending on how I phrase it.
On systems where I have a real deal client installed, and OCI can find the
tnsnames
2006 Apr 28
3
NoMemoryError Oracle
Hello,
I''m trying to run rails on a Solaris 10 box with Ruby/OCI8, but I''m
getting the following errors when trying to start up.
# script/server
=> Booting WEBrick...
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/servers/
webrick.rb:49:in `[]='': failed to allocate memory (NoMemoryError)
from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/
2006 Mar 06
5
Oracle XMLType data
Howdy folks,
Has anyone had any luck getting Oracle''s XMLType to play nicely with
Rails? According to the docs, it''s just a wrapper around CLOB.
However the ruby-oci8 driver throws an exception about user defined
types if you try to query a table with an XMLType column.
Any pointers would be appreciated.
Thanks,
-wilig
2006 Apr 20
4
oci8 mac os x intel
Is rails + oci8 + mac os x intel a winning combination? It appears
that oci8 might be a issue.
2006 Mar 10
14
Oracle Date type errors rails on edit
I have a table with "expires_on" a DATE field.
"Show" and "Destroy" work, but "Edit" errors:
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:150:in
`select_hour''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:149:in
`select_hour''
It only happens when
2005 Dec 28
2
OCI/ODBC on Windows
I have been trying to connect to an Oracle database on a windows
machine. I succesfully ran a test program using ODBC to connect to
Oracle, but I am out of luck on doing this with rails.
I am unable to install the OCI Adapter on Windows and am trying to
figure it out. Meanwhile, if anyone could provide me with some pointers
or references, I would be grateful. I am finding it a bit difficult in
2006 Jan 18
1
Problem with OCI in Apache
My Application runs fine when run on webrick, but throws up database
error when run from apache. this is the copy of the FULL TRACE i get
/usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `create''
/usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `initialize''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/oci_adapter.rb:515:in
2006 Feb 07
5
OCI adapter slowdown on dictionary access
Hi,
after some experience with Rails on MySQL databases I gave it a try on one
of our larger Oracle database.
I was facing a problem when Rails tried to detect the columns for a
model/table. The appropriate statement ran about 1 min which led to a
timeout.
Our Oracle guru told me to analyze the SYSTEM schema. After that hadn''t
helped, he said the only remaining chance is to use a
2006 Mar 16
3
Connecting to Oracle8i
Hi All,
I have a problem in connecting to oracle and here is the steps i''ve been
going through (i''m using the regular oracle8 client, not the instant
one):
1. i installed the one-click ruby installer (ruby184-16p3 windows.exe)
2. i installed the rails-1.0.0 framework using gem successfully
3. i tried connecting to oracle using all possible combination in the
database.yml file
2005 Jul 27
1
Problem connection to oracle
hi
I have the latest rails version and would like
to connect to an Oracle 9 database:
this is my code:
=========
ActiveRecord::Base.establish_connection(
:adapter => "oci",
:host => "host",
:username => "user",
:port => 1888,
:password => "passwd",
:database => "tmp1"
)
class
2006 Jan 12
7
Is anyone using oracle with RoR successfully?
Hi,
Is anyone using Oracle with RoR successfully?
Is everything running smoothly?
What are the main issues?
any response is appreciated
thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
2009 Sep 14
9
ActiveRecord::StatementInvalid (invalid date) with Oracle
Hello all. I am a novice Ruby on Rails programmer, starting my first
project using a legacy Oracle 10 database. Using ''reverse_scaffold'' I
have created the models/controllers/views for my existing Oracle
tables.
All seems to work well, using /model/index, /model/show for most of my
tables, *except* when one of the tables contains a Oracle ''date''
column, for
2013 Aug 29
3
ruby connect oracle problem
Hello folks.
I''m new in Ruby also ROR.
I installed oracle intant client and test it it works fine. Now I wanna
connect to oracle db. But its got some error. like this
*custom_require.rb:36:in `require'': cannot load such file -- oci8
(LoadError)*
my code is here.
require ''oci8''
oci =
2009 Sep 16
12
Connecting to Oracle (Solaris Sparc 10)
My company''s System-admin installed Ruby and Gems (using Sun Coolstack
package) and I have sudo access to ruby, gem etc. Now I need to get my
app to talk to oracle db (through network).
From what I understand, it requires three steps:
Step 1: Install oracle instant client ( I installed it in my ~/oracle/
instantclient_11_1)
Step2: Install OCI8 libraries (this is where I am stuck). Here is
2008 Feb 22
2
Connecting to Oracle from Rails 2.0.2
Long afternoon, but finally got it. Hope this spares you some pain:
Installation instructions mainly based on:
http://ruby.about.com/od/enterprise/ss/ruby_oracle.htm
Install Oracle Instant Client:
mkdir C:\oracle
cd c:\oracle
Get the following files from here:
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
and unzip them into the c:\oracle\
unzip
2006 Jun 12
3
AMD64 + Debain + rails + Oracle ?
Hi folks,
Does anyone know how to install the OCI8 ruby interface on Debian64
without having to install Oracle?
My understanding, from experience with Debian i386, is that you need
Oracle (specifically the SQLPlus) installed to be able to compile
OCI8. Since my new dev machine is AMD64 running Debian, I''m stuck.
My rails applications need to connect to a remote Oracle 10g, but
cannot
2006 Mar 23
11
ActiveRecord: Oracle metadata loading slow on large database
All,
While attempting to use ActiveRecord against a large database, approx.
1700 tables and 4 million rows, I discovered an inefficiency in
oci_adapter.rb. The problem seems to be the SQL being generated to
lazy-load the columns metadata. "def columns(table_name, name = nil)"
method generates the following SQL:
select column_name, data_type, data_default, nullable,
2006 Jan 09
1
php with OCI support
Hi,
I'm trying to get OCI support in php on RHEL 4.
So i installed the oracle-client and php.src.rpm
and then typed:
rpmbuild -bb --with oci /usr/src/redhat/SPECS/php.spec
It rebuild fine, but no oci support, on the spec file
of the PHP package it's there the OCI support, it's not
--with oci that i should use?
Thanks
Regards,
Ricardo
-------------- next part --------------
An
2005 Oct 14
10
Active Record: Prepared Statements?
Hello all,
my first project is on it''s way, and I am loving it!
But, and that''s a big BUT:
Active Record does not use prepared statements! How is that? Everybody is
bragging about performance and the most obvious tuning measure is missing.
Ok, I don''t know, if MySQL can even do them as I am using Postgres, but
still.
I started looking at the code and it is not
2007 Nov 02
3
ruby-oci8 build fails
I''m trying to build the ruby-oci8 with the Oracle Instant Client on OS
X. The Instant Client works, and the make seems to be ok with it up
until OCIInitialize(). Anybody got this to work?
[relevant output]
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby /
Users/dmholmes/Desktop/ruby-oci8-1.0.0-rc2/ext/oci8/extconf.rb
checking for load library path...