1 2 3 4 5 6 7 8 9 10 11 12 13 14
module Arel class Group < Compound attr_reader :groupings def initialize(relation, groupings) super(relation) @groupings = groupings.collect { |g| g.bind(relation) } end def eval raise NotImplementedError end end end