soundcloud/lhm — pull request #57 by mortice (2013-10-16 07:47:05+00:00)
Title: Ensure chunking 'where' clause handled separately

Fixes a bug where the migration:

Lhm.change_table :foo do |t|
t.filter "where foo.bar = 'baz' and foo.baz = 'quux'"
end

resulted in select statements with the wrong priority.

Now, all user-specified where conditions will be put in
parens.