Can I use Devise to solve the N+1 problem? Ruby on Rials

后端 未结 0 484
悲&欢浪女
悲&欢浪女 2021-02-01 16:58

I have 2 models, Article(belong_to User) and User(has_many Articles). Using Devise to get the current logged in user, and then fetching the articles (sorted from most recent) of

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