search for: oracle_connect

Displaying 5 results from an estimated 5 matches for "oracle_connect".

2010 Feb 06
0
I can only halfway connect to oracle
Gurus... If I set up my project to use SQLite (so it can come up) and attempt to connect to oracle via: oracle_connect = $application_properties[$connect_string] oracle_conn = OCI8.new(oracle_id, oracle_password, oracle_connect) where oracle_connect equals ''//bobs.big.boy.gov:1521/D09'' (with or w/o the introductory //) my rails app connect to the oracle database just fine. If I convert my databa...
2006 Jul 05
2
Serialized object behaves weird
Hi! I got a class named EinsatzFilter which I serialized to session. Before saving to session it works afterwards I keep getting the message: "undefined method `to_s'' for #<Person:0x38c6ab8>". "Person" is a from ActiveRecord::Base inherited class. Code: class EinsatzFilter include ApplicationHelper attr_reader :personen, :monat, :projekte, :kunde
2007 Nov 14
3
Connecting to Oracle from an Intel Mac -- arch. conflicts
...Did find: /Library/Ruby/Site/1.8/universal-darwin9.0/oci8lib.bundle: mach-o, but wrong architecture - /Library/Ruby/Site/1.8/universal-darwin9.0/oci8lib.bundle from /Library/Ruby/Gems/1.8/gems/activerecord-oracle-adapter-1.0.0/lib/active_record/connection_adapters/oracle_adapter.rb:713:in `oracle_connection'' from /Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `send'' from /Library/Ruby/Gems/1.8/gems/activerecord-1.99.0/lib/active_record/connection_adapters/abstract/connection_specification.rb...
2010 Apr 27
3
"ORA-12154: TNS:..." error after successful oracle connection
...racle_adapter.rb:621:in `initialize'' C:/ruby_prod/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/ active_record/connection_adapters/oracle_adapter.rb:35:in `new'' C:/ruby_prod/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/ active_record/connection_adapters/oracle_adapter.rb:35:in `oracle_connection'' C:/ruby_prod/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/ active_record/connection_adapters/abstract/connection_specification.rb: 262:in `send'' C:/ruby_prod/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/ active_record/connection_adapters/abstract/connection_specification.r...
2007 Jan 11
12
Rails not properly handling Oracle db connections/sesions in dev mode
We are running edge rails with oracle. After a few hundred requests all available sesions are used up. It seems prior connections are being left open. When this happens no one using the installation of Oracle can create a new session until you kill your mongrel/webrick server. Patch #6928 addresses this problem, and i applied it to my vendor rails and it worked. I think, if possible, this