Rails 4 AR .select includes pk field in result even if result is grouped (as opposed to Rails 3.2)

前端 未结 0 1040
抹茶落季
抹茶落季 2021-02-05 12:43

I\'m migrating my app from Rails 3.2 to 4.0, and I\'m finding a number of broken tests because Rails 4 includes the PK field (usually \'id\') in the result set when using someth

相关标签:
回答
  • 消灭零回复
提交回复
热议问题