Closed ugisozols closed 3 years ago
Thanks for looking into this and coming up with a solution! I'm going to try to write a few tests for alias
and distinct
since those are currently not tested. I'll post them here and you can copy them into the PR.
I ended up changing the test suite around a little bit and it's easier to just do it in a separate PR. Can you change your target branch to https://github.com/rgeo/rgeo-activerecord/pull/67? Once you've done that I'll merge and we can get this into master.
@keithdoggett done.
Thanks!
I have this code:
Rails 6.0.3.5 rgeo-activerecord 6.2.1
Rails 6.1.2.1 rgeo-activerecord 7.0.0
Used the code from Rails repo which seems to generate the right query.
I have no idea how to write a test for it or even if it's the right fix 😄