rsim/oracle-enhanced — Issue #138: BasicInclusionModelTest got a error/failure
Author: yahonda
Created: 2011-12-27 16:32:57+00:00
State: open

Since the https://github.com/rails/rails/commit/6af7192af59602e1cbb341b8bf3452afb344eff2 commit has been merged,
BasicInclusionModelTest got a error and failure.

```ruby
$cd activerecord
$ rake test_oracle
... snip ...
1) Error:
test_basic_model(BasicInclusionModelTest):
ActiveRecord::RecordNotFound: Couldn't find Teapot with id=1
/home/yahonda/Dropbox/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:340:in `find_one'
/home/yahonda/Dropbox/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:311:in `find_with_ids'
/home/yahonda/Dropbox/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:107:in `find'
/home/yahonda/Dropbox/git/rails/activerecord/lib/active_record/querying.rb:5:in `find'
/home/yahonda/Dropbox/git/rails/activerecord/test/cases/inclusion_test.rb:7:in `test_basic_model'
/home/yahonda/.rvm/gems/ruby-1.9.3-p0@rails_master/gems/mocha-0.10.0/lib/mocha/integration/mini_test/version_230_to_251.rb:28:in `run'

2) Failure:
test_adapter_connection(InclusionUnitTest) [/home/yahonda/Dropbox/git/rails/activerecord/test/cases/inclusion_test.rb:62]:
Failed assertion, no message given.

3172 tests, 9712 assertions, 1 failures, 1 errors, 0 skips
rake aborted!
Command failed with status (2): [/home/yahonda/.rvm/rubies/ruby-1.9.3-p0/bi...]
```

As the module Core::ClassMethods implemented to mysql, mysql2 and pg adapters, oracle-enhanced also needs this module.