Skip to content

Creates unnecessary parens #1

@woahdae

Description

@woahdae

Although they shouldn't damage the logic, the extra parens sure are ugly.

If people find this project useful, it might be worth looking in to this.

Example from the tests:

to_blacklist.where_sql.must_equal(
  "WHERE (((((artist_mentions_count > 0)"\
  " OR (competition_rank > 7)))"\
  " OR (subjective_dislike_rating > 3)))")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions