Ruby/Rails: Circular dependency when including concern in ApplicationRecord

后端 未结 0 1061
余生分开走
余生分开走 2021-02-14 06:31

I have a concern that creates a class macro that I want available for all the models in my Rails application. So I\'m including it in ApplicationRecord. The code is as follows:<

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