Displaying 20 results from an estimated 1000 matches similar to: "Tests just deleted my production Database!!! PLEASE"
2006 May 02
1
Tests just deleted my production Database!!!
Sorry, in my haste I forgot to modify the subject.
5/2/06, "Christian R. Garner" <olus@digitalapathy.net>wrote:
>
> All assumptions aside, "rectest" and "salt" are usernames not
> databases/schemas according to the pasted config. If they were in fact
> different databases/schemas, this problem could never have happened.
> While
>
2006 May 02
17
Tests just deleted my production Database!!! PLEASE HELP
Running the functional tests has deleted the data in my production
database!!! please help!! Using rails 1.1.1 + Oracle.
This is my database.yml file :
development:
adapter: oci
host: "V2:1521/TIM"
username: salt
password: oracle1
test:
adapter: oci
host: "V2:1521/TIM"
username: rectest
password: oracletest
production:
adapter: oci
host:
2006 May 02
0
RE: Rails Digest, Vol 20, Issue 39
All assumptions aside, "rectest" and "salt" are usernames not
databases/schemas according to the pasted config. If they were in fact
different databases/schemas, this problem could never have happened. While
different database brands may have tricks for ways to handle users and what
they perceive as a database/schema, the fact remains that if 2 literally
separate databases
2007 Oct 23
3
Ruby on Rails and Oracle
Hello, I''m having a trouble when I try to connect RoR and Oracle.
I believe that it has something to do with database.yml, this is how my
database.yml looks:
development:
adapter: oci
database: 127.0.0.1:1521/XE
username: system
password: y1984nip0359
host: 127.0.0.1
And this is the Error that i get:
-> http://127.0.0.1:3000/blog
OCIError in BlogController#index
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:
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 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
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
2006 Apr 27
5
Realtime Form Validation Plugin Available
Granted, I''m still very much a newbie, but after reading an article on AJAX
that basically states at one point that just because you can use AJAX
doesn''t always mean you should, I have to ask: Why bother contacting the
server (even if it is an insignificant amount of bandwidth) to validate the
sanity of form data (unless you''re actually validating against something in
2008 Feb 06
3
slogging my way thru oracle, not adapter? gem install fails?
<ubuntu_gutsy> me@ubuntu:~/workspace/oracle/ro$ gem install
activerecord-oci-adapter
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find activerecord-oci-adapter (> 0) in any repository
<ubuntu_gutsy> me@ubuntu:~/workspace/oracle/ro$ rake db:migrate
(in /home/me/workspace/oracle/ro)
rake
2007 Jan 05
1
InstantRails with Ruby One-Click Installer?
Hi. I would like to hear how/what other users are installing for
development and reference support. I currently have both InstantRails
and the Ruby One-click Installer installed. I don''t like telling
co-workers to install both (the OCI has lots of nice documentation
useful to Rails developers). Also, the Ruby OCI helps when needing to
run Ruby scripts outside of the InstantRails
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
2012 Mar 06
2
paquete ROracle en linux
Buenas.
Necesito conectarme a una BD Oracle desde linux debian y estoy probando
a instalar el paquete ROracle para usar la misma forma de conectarme que
tenĂa cuando usaban postgres. El tema es que al instalarlo me dice
* installing *source* package ?ROracle? ...
** package ?ROracle? successfully unpacked and MD5 sums checked
configure: error: OCI libraries not found
ERROR: configuration failed
2007 Jul 06
1
Anyone got TOAD freeware 8.5 wording with wine
I have managed to install but get
Cannot load OCI DLL: c:\ora\BIN\oci.dll
When I try to connect. I have (wine) Oracle instant client working
fine with other things.
Ben
--
Ben Edwards - Bristol, UK
If you have a problem emailing me use
http://www.gurtlush.org.uk/profiles.php?uid=4
(email address this email is sent from may be defunct)
2005 Aug 11
1
vfs module license particulars
>From what I have been able to piece together from the archives of prior
discussions on this topic, it appears that one cannot write a proprietary
vfs module, correct?
If that is true, how far does the non-proprietary nature need to extend?
For instance, would it be allowed to write a vfs module which talks to
Oracle to get the data which backs the filesystem rather than an actual
filesystem?
2006 Mar 28
2
Rails Oracle connection
I''m using the following configuration in the database.yml to connect to
Oracle,
however I could not connect while the settings seems to be correct:
development_oracle:
adapter: oci
host: 127.0.0.1:8080/XE
username: rubydb
password: rubyrails
What is wrong here?
Can anyonbe help me?
--
Posted via http://www.ruby-forum.com/.
2005 Oct 04
2
Empty fields and Oracle CLOBs
I have a field that is a clob within an Oracle database on Rails
0.13. Things have been working well until I tried to submit the field
empty via a rails app at which point the following error was
returned:
ORA-24801: illegal parameter value in OCI lob function
/app/controllers/publications_controller.rb:64:in `update''
The line in question was:
if
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
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 =
2006 Feb 27
5
Database connections...so many connections!
Hello all.
I am currently running a very simple ruby app. It connects to an Oracle
server using the OCI8 adapter.
I have two controllers, each one connects to a different schema on the
server, I looked at the WIKI that had details of multiple database
connections
(http://wiki.rubyonrails.com/rails/pages/HowtoUseMultipleDatabases), I
moved the code from the application controller into each