Can someone tell me where the new Rails 2.0/edge Oracle adapter code
now resides?  I have a few things I would like to add.

I am running into problems with activerecord-oracle-adapter v1.0.0
installed.  The biggest one is that select_rows is abstract on
OracleAdapter class.

I fixed this by putting the following in my Rails 2.0 application's
lib/oracle_patch.rb and including it in my config/environment.rb:
----
require 'active_record/connection_adapters/oracle_adapter'
module ActiveRecord
  module ConnectionAdapters
    class OracleAdapter
      def select_rows(sql, name = nil)
        @connection.query_with_result = true
        result = execute(sql, name)
        rows = []
        result.each { |row| rows << row }
        result.free
        rows
      end
    end
  end
end
----

If someone let's me know where the new source is (it doesn't appear to
be in the activerecord SVN tree as of r8200) and what the patch
process is for that, I will happily apply this and other Oracle
patches I have.

Thanks,
SP

On Oct 7, 10:29 pm, "Jeremy Kemper" <[EMAIL PROTECTED]> wrote:
> On 10/7/07, Michael A. Schoen <[EMAIL PROTECTED]> wrote:
>
> > On the one hand, it's no longer core's responsibility to applyOracle
> > fixes; on the other hand, it may still be helpful for core to be aware
> > of breakages.
>
> The adapters are still a vital part of Active Record, regardless of
> svn location.
>
> Plus, I really like the instant feedback.
>
> Please keep it up!
>
> Best,
> jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to