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.

undefined method `not' for #<Arel::Nodes::Grouping:0xb2f4db4>

#6035

In Rails 3.0.1 one could write:

Article.arel_table[:id].gt(5).or(Article.arel_table[:id].lt(9)).not

however this leads to an exception in Rails 3.0.3

undefined method `not' for #<Arel::Nodes::Grouping:0xb2f4db4>

Reported by Robert Pankowecki · November 22nd, 2010 @ 03:36 PM

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

Activity

  1. Neeraj Singh
    Neeraj Singh
    • Assigned user set to Aaron Patterson
    • Importance changed from to Low

    November 22nd, 2010 @ 10:18 PM

  2. Aaron Patterson
    Aaron Patterson
    • State changed from new to resolved

    Should be fixed here. I will release this along with the next version of arel. Thanks!

    November 24th, 2010 @ 12:25 AM

  3. Robert Pankowecki
    Robert Pankowecki

    Works different (internally) than in Arel 1 but looks good to me.
    Thank you

    November 24th, 2010 @ 08:57 AM

  4. Robert Pankowecki
    Robert Pankowecki

    Works different (internally) than in Arel 1 but looks good to me.
    Thank you

    November 24th, 2010 @ 08:57 AM