This project is archived and is in readonly mode.

#2239 ✓duplicate
Raimonds Simanovskis

base_test fixes to make it Oracle compatible

Reported by Raimonds Simanovskis | March 15th, 2009 @ 01:05 PM | in 2.x

I am maintainer of ActiveRecord Oracle enhanced adapter (github.com/rsim/oracle-enhanced) and I am trying to run ActiveRecord tests with it.

This patch fixes base_test.rb to make it Oracle compatible: - TIME datatype is not supported on Oracle - UPDATE does not support ORDER BY - _before_type_cast on Oracle returns Time and not String - added Oracle specific schema definition that was missing for test_default_values test

After these fixes Oracle enhanced adapter passes all base_test tests.

Comments and changes to this ticket

  • Pratik

    Pratik August 9th, 2009 @ 10:31 PM

    • State changed from “new” to “duplicate”

    I suppose this isn't needed as Jeremy already merged your fixes. Please let me know if it's still an issue and I'll reopen.

    Thanks.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Tags

Pages