Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

relation_scoping_test.rb and method_scoping_test.rb failing on Oracle

#6229

Several tests from relation_scoping_test.rb and method_scoping_test.rb are failing on Oracle:
https://gist.github.com/f66d27621fbce6617edc

It seems that the cause could be https://github.com/rails/arel/blob/master/lib/arel/visitors/oracle.... which removes limit and translates it to where condition when using Oracle and therefore after to_sql method call original limit is not available for relation.

Discussed with Aaron and he has ideas how to fix it by making limit into a separate Arel node.

Reported by Raimonds Simanovskis · December 27th, 2010 @ 08:12 PM

State: resolved
Milestone: none
Assigned to: Aaron Patterson Aaron Patterson
Importance: Low

Activity

  1. Aaron Patterson
    Aaron Patterson
    • State changed from new to resolved
    • Importance changed from to Low

    Fixed this, so closing.

    January 14th, 2011 @ 06:52 PM