You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have to use Model.tagged_with() in a complicated sql query that is used within another sql query for the purposes of getting the MAX(table.updated_at) for a cache key. The current implementation adds complexity (and therefore processing time) to the query by always forcing
This also creates a MySQL error (duplicate column) when paired with .select("table_name.updated_at"). So that Model.select('table_name.updated_at').tagged_with(['my','tags']) fails.
I'm forking this project and will attempt a patch and pull request.
The text was updated successfully, but these errors were encountered:
We have to use
Model.tagged_with()
in a complicated sql query that is used within another sql query for the purposes of getting theMAX(table.updated_at)
for a cache key. The current implementation adds complexity (and therefore processing time) to the query by always forcingThis also creates a MySQL error (duplicate column) when paired with
.select("table_name.updated_at")
. So thatModel.select('table_name.updated_at').tagged_with(['my','tags'])
fails.I'm forking this project and will attempt a patch and pull request.
The text was updated successfully, but these errors were encountered: