rsim/oracle-enhanced — pull request #415 by yahonda (2014-02-10 19:46:25+00:00)
Title: Support rails/rails#13886 by chainging select_rows arguments

This pull request addresses a failure #414.

This pull request still needs some work to fix the following error. Will open another pull request when it is ready.

```ruby
$ ARCONN=oracle ruby -Itest test/cases/adapter_test.rb -n test_select_methods_passing_a_association_relation
Using oracle
Run options: -n test_select_methods_passing_a_association_relation --seed 6610

# Running:

E

Finished in 0.169629s, 5.8952 runs/s, 23.5809 assertions/s.

1) Error:
ActiveRecord::AdapterTest#test_select_methods_passing_a_association_relation:
ActiveRecord::StatementInvalid: OCIError: ORA-01008: not all variables bound: SELECT "POSTS"."TITLE" FROM "POSTS" WHERE "POSTS"."AUTHOR_ID" = :a1
stmt.c:230:in oci8lib_210.so
/home/yahonda/.rvm/gems/ruby-2.1.0@railsmaster/gems/ruby-oci8-2.1.7/lib/oci8/cursor.rb:126:in `exec'
/home/yahonda/.rvm/gems/ruby-2.1.0@railsmaster/gems/ruby-oci8-2.1.7/lib/oci8/oci8.rb:278:in `exec_internal'
/home/yahonda/.rvm/gems/ruby-2.1.0@railsmaster/gems/ruby-oci8-2.1.7/lib/oci8/oci8.rb:269:in `exec'
/home/yahonda/git/oracle-enhanced/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:429:in `exec'
/home/yahonda/git/oracle-enhanced/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:180:in `select'
/home/yahonda/git/oracle-enhanced/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:808:in `block in select_rows'
/home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log'
/home/yahonda/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:367:in `log'
/home/yahonda/git/oracle-enhanced/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:1500:in `log'
/home/yahonda/git/oracle-enhanced/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:807:in `select_rows'
/home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:54:in `select_values'
test/cases/adapter_test.rb:192:in `test_select_methods_passing_a_association_relation'

1 runs, 4 assertions, 0 failures, 1 errors, 0 skips
$
```