This project is archived and is in readonly mode.

undefined method `not' for #<Arel::Nodes::Grouping:0xb2f4db4>
Reported by Robert Pankowecki | November 22nd, 2010 @ 03:36 PM
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>
Comments and changes to this ticket
- 
         Neeraj Singh November 22nd, 2010 @ 10:18 PM- Assigned user set to Aaron Patterson
- Importance changed from  to Low
 
- 
         Aaron Patterson November 24th, 2010 @ 12:25 AM- State changed from new to resolved
 Should be fixed here. I will release this along with the next version of arel. Thanks! 
- 
            
         Robert Pankowecki November 24th, 2010 @ 08:57 AMWorks different (internally) than in Arel 1 but looks good to me. 
 Thank you
- 
            
         Robert Pankowecki November 24th, 2010 @ 08:57 AMWorks different (internally) than in Arel 1 but looks good to me. 
 Thank you
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>
 Aaron Patterson
      Aaron Patterson
 Jeremy Kemper
      Jeremy Kemper
 Neeraj Singh
      Neeraj Singh
 Robert Pankowecki
      Robert Pankowecki