class Ransack::Nodes::Grouping

def [](key)

def [](key)
  if condition = conditions.detect {|c| c.key == key.to_s}
    condition
  else
    nil
  end
end