search for: conferencebase

Displaying 2 results from an estimated 2 matches for "conferencebase".

2006 Mar 19
0
Oracle connection problems when connecting to multiple databases
I have a rails application that connects to two different databases. The first (primary) database is MySQL and the second is Oracle. I have followed the example in the Rails Recipes book and I have created a base class for the models connecting to oracle like this: class ConferenceBase < ActiveRecord::Base establish_connection :conference end :conference is setup in the database.yml. A model subclass can now connect to my Oracle database -- a little too well. Every time I do anything with a subclass of this model it establishes a NEW connection. Does anyone know how to do...
2006 Mar 29
2
AR 1.14 oracle_adater.rb does not work
the error is : wrong number of arguments (1 for 0) where : active_record/connection_adapters/oracle_adapter.rb:53:in `attributes_with_quotes_pre_oracle'' this method is new, it was an alias in the previous version : alias :attributes_with_quotes_pre_oci :attributes_with_quotes #:nodoc: I replaced the method by the alias of the previous version, and it is working fine. This is