Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creates unnecessary parens #1

Open
woahdae opened this issue Jan 24, 2012 · 0 comments
Open

Creates unnecessary parens #1

woahdae opened this issue Jan 24, 2012 · 0 comments

Comments

@woahdae
Copy link
Owner

woahdae commented Jan 24, 2012

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)))")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant