Opened 1 year ago
A rough sketch of possible improvements to AAR syntax:
report_table(:all, :conditions => ["foo = ?, 12], :include => lambda { |includes| includes.methods = %w[a b c] includes.only = %w[x y] includes.child(:blah) do |c| c.methods %w[a b c] c.only = %w[x y] end }