Displaying 20 results from an estimated 21 matches for "oracle_enhanced".
2009 Sep 11
0
oracle_enhanced problem connection
...but not
to production, despite using the same credentials and connecting to the
same database.
The database is a legacy app that needs a new enhanced front end, so I''m
not designing a new database just interacting with the existing one.
Here is my database.yml:
development:
adapter: oracle_enhanced
user: user
password: pass
database: 123.456.789.123/SID
production:
adapter: oracle_enhanced
user: user
password: pass
database: 123.456.789.123/SID
At first I couldn''t connect at all with this setup, so I resorted to
doing this in the model:
ActiveRecord::Base.establish...
2008 Oct 28
0
oracle_enhanced adapter 'uninitialized constant' error
Hi,
Can any one help me? I''m using Ubuntu and trying to connect to an oracle
database using oracle_enhanced adapter connection, but keeps getting
following error:
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.
rb:275:in `load_missing_constant'': uninitialized constant
ActiveRecord::Connecti
onAdapters::OracleEnhancedAdapter (NameError)
from
/usr/lib/ruby...
2009 Oct 08
2
Problem with oracle_enhanced adapter
Hi,
when I configure my app to use the oracle_enhanced adapter it throws the
following exception:
java.sql.SQLException: ORA-01882 : Timezone region not found
How can I solve this?
Thanks,
Rafael Roque
--
Posted via http://www.ruby-forum.com/.
2008 Oct 23
0
rails application working, rake tasks not
Hi,
I have some problems with rails and the oracle_enhanced adapter.
My rails application is working but not my rake task. It doesn''t find
the oracle_enhanced adapter.
Please install the oracle_enhanced adapter: `gem install
activerecord-oracle_enhanced-adapter` (no such file to load --
active_record/connection_adapters/oracle_enhanced_adapter)...
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
2011 Mar 11
2
Problem with Redmine
...ot; NUMBER, "HANDLE" VARCHAR2, "ASSOC_TYPE"
VARCHAR2, "SERVER_URL" BLOB, "SECRET" BLOB)
/opt/redmine-1.1.2/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:219:in
`log''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.3.2/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:1077:in
`log''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.3.2/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:493:in
`execute''
/usr/local/lib/ruby/gems/1.8/...
2008 Jun 04
4
Where is the ActiveRecord Oracle Adapter with 2.1?
I tried this, which worked before:
sudo gem install activerecord-oracle-adapter --source http://gems.rubyonrails.org
--no-ri --no-rdoc
But all I get is:
ERROR: could not find activerecord-oracle-adapter locally or in a
repository
Anyone else able to install the Oracle adapter?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2010 Feb 24
4
"Sequence does not exist" for joined model
...t;action"=>"create_association", "id"=>"1", "controller"=>"reviews"}
ActiveRecord::StatementInvalid (OCIError: ORA-02289: sequence does not
exist: SELECT reviews_seq.NEXTVAL id FROM dual):
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.2.3/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:1359:in
`log''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.2.3/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:1283:in
`select''
C:/Ruby/lib/ruby/gems/1.8/ge...
2011 Sep 02
3
problems with oracle xe server connection
i''m working on ubuntu 11.04; i need to create some rails application
with oracle database on local computer.
i installed: ruby 1.9.2, rails 3.1, oracle 10g XE, rubu-oci8 2.0.6,
gem ''activerecord-oracle_enhanced-adapter'', create database user named
''orak'' with password ''orakpass'' through 127.0.0.1:8080/apex, i maked
new application ''orak'' with database.yml parameters
development:
adapter: oracle_enhanced
database: 127.0.0.1/orak
username:...
2010 Dec 15
3
ORA-12514: TNS:listener d oes not currently know of service requested in connect descriptor (OCIEr
...n I first ran the rake db:migrate I got this ERROR!
ORA-12514:
TNS:listener d
oes not currently know of service requested in connect descriptor
(OCIError)
I''m using database which is on a server and have used the tnsnames.ora
configs so my database.yml looks like
development:
adapter: oracle_enhanced
database: contrl
username: ucontrl
password: control123
after some search related to the error I happen to check this link "
http://www.ruby-forum.com/topic/96884 " and followed the procedures but
now I am stuck with the below error
C:\Documents and
Settings\SawanKumar.Thammadi\Ru...
2007 Dec 14
17
Rails 2.0.1 RC2 - activerecord-oracle-adapter not found
Hi,
Does anyone know why gem can''t find activerecord-oracle-adapter?
C:\>rails --version
Rails 2.0.1
C:\>gem install activerecord-oracle-adapter
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find activerecord-oracle-adapter (> 0) in any repository
It all started when I tried to run Mongrel on a Win32 box:
C:\web\FDS_Server>mongrel_rails start
2009 Oct 20
1
OCIError (ORA-01017: invalid username/password; login denied
...development mode. Heck, running script/console also works fine. It''s
just that when it automatically starts up as part of server startup that
I get this error; it''s unfortunately exactly that situation that we need
to use it.
My database.yml looks like:
development:
adapter: oracle_enhanced
database: blarg
username: abcde
password: abcde
production:
adapter: oracle_enhanced
database: blarg
username: abcde
password: abcde
I''ve googled all over the place for answers to this but all I find are
threads where somebody has the problem and nobody has a solution. Any...
2010 Dec 08
0
rails 3 with oracle
...s command
rails new <app name> --database oracle
it does create the application fine but in the database.yml file i
have something like this
development:
adapter: oracle
database: databaseName
username: User
password: Secret
in the gemfile i can only use
gem ''activerecord-oracle_enhanced-adapter'', ''~>1.3.0''
and i think if am to use that gem i have to get the adapter to be
development:
adapter: oracle_enhanced
database: databaseName
username: User
password: Secret
Please can someone help me with this because if i change it manually
it gives m...
2012 Aug 07
0
spatial_adapter and ruby_ldap
Hi,
I''m running rails 3.0.9 with activerecord 3.0.9 and have three database
connections in my rails application - LDAP connection, Oracle and Postgres
with PostGIS. I have installed gems GeoRuby v 1.3.4, spatial_adapter v
1.3.1, activerecord-oracle_enhanced-adapter v 1.4.0, ruby-ldap v 0.9.12 ,
pg v 0.14.0.
With both gems the spatial_adapter seem to work well which also is the case
for the Oracle connection. Problem is if I run spatial_adapter together
with ruby-ldap. The spatial adapter works but when I try to log in with
LDAP it fails. The perr...
2009 Mar 22
3
undefined method 'define_a_column' for class 'OCI8::Cursor'
Hello. Tired of searching and finding nothing useful.
Moving application to laptop for trip.
Installed:
- Ruby (1.8.6, patchlevel 111)
- Rails (2.2.2)
- Oracle adapter (1.0.0.9250)
- ruby-oci8 (2.0.1)
- Oracle 10g Express Edition
database.yml:
development:
adapter: oracle
etc...
When I start Mongrel (ruby script/server) I get the error above. I''ve
looked everywhere I can think of.
2010 Aug 13
4
Rails and Oracle - can select date but cannot save
I''m seeing a behavior in Rails that I find very strange. Having worked
quite a bit with Oracle with other languages I would always dutifully do
ALTER SESSION SET NLS_DATE_FORMAT = <my_date_format> and ensure I use
that date format in my application.
With Rails I still have not figured out how to execute an ALTER SESSION
statement after connecting to the database (I''m using
2011 Nov 02
3
form_for text_field
...9;', all characters are displayed in the input control
(f.text_field :last_name ).
Else only symbols before french special symbol are displayed.
Why is it?
I am using
abstract (1.0.0)
actionmailer (2.3.5)
actionpack (3.1.1, 2.3.5)
activemodel (3.1.1, 3.0.3)
activerecord (2.3.5)
activerecord-oracle_enhanced-adapter (1.3.0)
activeresource (2.3.5)
activesupport (3.1.1, 3.0.3, 2.3.8, 2.3.5)
arel (2.0.6)
builder (3.0.0, 2.1.2)
calendar_date_select (1.16.1)
cgi_multipart_eof_fix (2.5.0)
columnize (0.3.2)
composite_primary_keys (2.3.5.1)
cucumber (0.7.2)
cucumber-rails (0.3.1)
diff-lcs (1.1.2)
erubis (2.7.0...
2009 Mar 25
3
List of databases supported by Rails
Where can I obtain list of databases supported by Ruby on Rails?
Thanks
TheR
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe
2009 May 06
0
OCI Library Initialization Error
...lization Error"
IT always errors on OCIENV.init(). I cant see anything wrong on the ENV
configurations.
Has anyone had this problem, or any suggestions on where i should look
for anwers?
I am using the following gems:
ruby-oci8 (1.0.4)
activerecord-oracle-adapter (1.0.0.9250)
activerecord-oracle_enhanced-adapter (1.2.0)
activerecord (2.3.2)
TNS_ADMIN, ORACLE_HOME are configured.
The output is below:
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
OCI Library Initialization Error
C:/Ruby/lib/ruby/gems/1.8/gems/ruby...
2009 Dec 30
9
Oracle adapter problem? How to fix this?
Hi,
My setup is:
Ruby 1.8.6
Rails 2.3.5
activerecord-oracle-adapter (1.0.0.9250)
I upgraded Rails and the adapter recently and I just went through hell
trying to find a problem while inserting a record in a table.
Rails was giving me this error:
OCIError (ORA-02289: sequence does not exist):
stmt.c:539:in oci8lib.so
c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:753:in `exec''