On Nov 26, 2007 5:37 AM, SP <[EMAIL PROTECTED]> wrote:
>
> 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.
http://dev.rubyonrails.org/browser/adapters/oracle
Michael Schoen's the maintainer so talk with him about the patches you
have in mind.
--
Cheers
Koz
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---