Displaying 20 results from an estimated 200 matches similar to: "Rails Oracle connection"
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 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 28
2
Problem with generating a scaffold with an Oracle DB
Hi all,
I have confgured my oracle application with the Oracle Express
Production release database. This all is configured well and tested(I
can see that he founds the database). However, when I generate a
scaffold application there is no view for the CRUD functions created for
the application.
Below is listed what is generated for me for a Products table:
E:\workdir\ruby\depot>ruby
2005 Dec 27
3
CMS centos3
Anyone using or recomend a content management system that will install
without out a lot of mucky muck on a Centos3 system? I looked at Zope
but it needs a newer Python, Midgaard looks likes it's geared towards
RHEL4. OpenCMS looks like it runs on java so that might work. I have
yet to look at Rubyrails and Django.
2004 Aug 11
2
possible suppression for output ?
Hi,
Whenever i sync certain files in ( like /etc/tnsnames.ora ) from our
hostA to hostB, rsync always print out
/etc/
it prints out the files modified.
it does that for every directory name in the path of files i update...
Is there a way to suppress that output, since it is not modifying that
directory ?
Thanks
Daniel Bourque
Unix Systems Administrator
BTS Platform Services
Learjet Inc.
2011 Nov 19
11
Installing Oracle
This is pretty ugly.
I''m using puppet to install Oracle, ie an exec{} wrapped around:
/u01/oracle_extract/linux.x64_11gR2_database/database/runInstaller
-silent -responseFile /etc/oracle_response.rsp
The problem is that the damn installer backgrounds itself and returns
control to the shell. I tried putting the above command in a script,
followed by a wait command, but that
2007 Mar 08
1
RubyRails ActiveRecord base64 encode/decode of binary data
Hi,
I have binary images stored in a table which I wish to encode/decode with
base64 before reading into html object:
<object data="data:image/foo;base64, ..base64 data.." />.
How can I do this in RubyRails?
--
Regards
Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 May 16
4
Oracle and MySql simultaneously from rails app
I searched this site on Oracle && MySql, nothing came up, so perhaps
this is a new topic for this forum.
I''d like to access two databases from the same application
simultaneously (well, more precisely, in rapid succession, calling one
first and then the other, as any "joins" will be done in the application
code).
One database is in MySql, the other is Oracle.
2012 Dec 19
0
Oracle listner with port forwarding issue
> bundle exec rails s
=> Booting WEBrick
=> Rails 3.1.5 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Warning: NLS_LANG is not set. fallback to US-ASCII.
[2012-12-19 12:17:10] INFO WEBrick 1.3.1
[2012-12-19 12:17:10] INFO ruby 1.9.3 (2012-10-12) [x86_64-linux]
[2012-12-19 12:17:10] INFO WEBrick::HTTPServer#start:
2007 May 15
1
link_to_remote with :confirm...need syntax help
What is the syntax to use :confirm with link_to_remote? This doesn''t
work, I''ve tried a few permutations, with no success:
<%= link_to_remote( "X",
:update => ''address_list'',
:url => { :controller => ''addresses'', :action =>
''destroy'', :id => address },
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 Oct 17
2
how to do scheduling in rubyonrails
can you please tell me how to cerate an automated mail generation in
rubyrails in specific time period .My requirement is to check the user
last log in and generate an automated mail after 3 months or one year
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this
2007 Jan 04
5
Mashup Tutorial
Hi:
I am looking for a good hands on web mashup tutorial? or books for that
matter.. Google gives me bits and pieces of the info but not any step by
step or hands on tutorial..
Thanks a bundle
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2007 Feb 04
4
problems with tutorial
I''m having some trouble with the instructions at the link below:
http://instantrails.rubyforge.org/tutorial/restarting_the_dev_env.html
I had started at the tutorial at http://instantrails.rubyforge.org/
tutorial/index.html
and had gotten as far as creating the cookbook2 exercise and had
gotten to the "Welcome aboard you''re riding ruby rails" screen in
explorer, but
2010 Jun 01
12
Wine & Pro/Intralink
Hi
My name i Lorenzo, I'm new on linux's world. I wold like to know is someone has tried to use Wine with Pro/Intralink (a PTC product). During installation...no problem. Lunching the program after installation... no results.
Following, more informations:
WINE Version: Wine 1.2-rc1
TERMINAL OUTPUT DURING INSTALLATION
[code]icelolli at ascari:/media/PRO$ wine setup.exe
icelolli at
2010 Apr 27
3
"ORA-12154: TNS:..." error after successful oracle connection
Hi,
After a few days of struggling, I was able to run this command
successfully.
ruby -r oci8 -e "OCI8.new(''xxx_dba'', ''xxx'', ''//xxxx:1521/
xxxxx.xxx.org'').exec(''SELECT 1 from dual'') {|r| puts r.join}"
I got "1.0" as output and I got my prompt back.
So, I went back to the RoR app that I am working on,
2006 Aug 14
1
Rails Live CD
Hi
Many on this board may already be aware of this, so for those who are
not
Just ran across this, burned it and now playing with it.
Rails Live CD - Based on PCLinuxOS
http://www.pclinuxos.com/news.php
I''m just starting out with ror. maybe other newbees might find this of
some interest.
Clark
http://sgetty.ath.cx
--
Posted via http://www.ruby-forum.com/.
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
2002 Aug 29
1
Oracle 8.1.7 client
I am SOOOOOOOOOOOOOO close to getting my ERP package to run. GRRR. Latest
version of Codeweaver WINE, just downloaded yesterday. IE works, MSOffice
works well - no icons, but still runs, including JAVA. So, WINE seems to
work OK.
The program is a Delphi EXE, using the BDE. I can even run BDEADMIN, but
when attempting to login to the database, there is a lot of disk churning
(indicating I am
2005 Aug 02
0
Debugging woes
I am trying to debug this mockup, it runs fine from the shell, but when I run it from within emacs with rubydb, I get an exception. I''ve tried this in the past, running a test from within emacs and it failed. I think it has something to do with the environment. I''m not sure how I should invoke the interpreter to give ActiveRecord access to what it needs. Currently I just call it