mobility

Unable to order by translated column in Rails using Mobility

戏子无情 提交于 2019-12-24 13:28:40
问题 This question is based on an issue posted to the Mobility GitHub project. Context Rails : 5.0.6 Mobility : 0.4.2 (with table backend) I'm working with an articles table that supports multiple article types (e.g., blog post, case study, knowledge base article). This table includes a column to track the number of times an article is viewed—an integer column that increments every time a show action is called for an article. In implementing translations for these articles, I want to track the