Jun Takeno

Results 2 comments of Jun Takeno

I have the same problem. is it possible to make the taggable_id a string and have the model id work for both bigint and UUID?

I try this code. ``` User.joins("INNER JOIN taggings ON taggings.taggable_id = CAST(posts.id AS VARCHAR) AND taggings.taggable_type = 'User'") .joins("INNER JOIN tags ON tags.id = taggings.tag_id") .where(taggings: { context: "tags" })...