rzane/baby_squeel

Rails 5.2 support

Closed this issue · 5 comments

It looks like baby_squeel isn't working with joins in rails 5.2.0.beta2.

rzane commented

Yup, this is a top priority. I'll work on this ASAP.

rzane commented

Okay, I spend some time looking into this. It should be solvable, but it's going to take quite a bit more research. So far, I've identified the source of the changes that caused 5.2 to break:

Also, most of the failures are due to missing or extra parens in the generated SQL.

rzane commented

I'm working on this in #87. It's really close!

kapso commented

has_many & has_one via through is breaking on Rails 5.2 because of this gem

rzane commented

Yeah 5.2 is currently broken. Support for 5.2 waiting on this PR: #87