Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

refactor collapse_wheres method so that string based where clauses are h... #362

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jorgevaldivia
Copy link

...andled

Fixes #361

@valscion
Copy link

👍 Is there anything that I can do to get this merged? We stumbled upon the same issue

@vellotis
Copy link

👍 Actually it started to bother me as well. Would be great if it could get merged.

@jlhonora
Copy link

@jorgevaldivia are you using this in prod? Any problems so far? Thanks for the PR btw.

@mckinnsb
Copy link

mckinnsb commented Mar 3, 2016

Is there anything that we are waiting for with this? @bigxiang

@kbaum
Copy link

kbaum commented Mar 27, 2016

I am using rails 4.2 and I noticed that just commenting out the collapse_where method solves the issue for me. I also noticed that only a few squeel tests fail when I comment out collapse_where and they seem like they may even be false alarms. See my comments here:

#416 (comment)

Full disclosure, I am not completely sure why collapse_where was added to begin with so i may be way off base.

Also, if we want to include a spec that reproduces the issue, I added one here:

https://github.com/viewthespace/squeel/commit/5571d4a96eb9d52f9427172acff6685b1692873f

thx!

jfcaiceo added a commit to Beetrack/squeel that referenced this pull request Apr 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Join with where block and default is broken.
6 participants