Call module method in Rails ActiveRecord where clause

后端 未结 0 496
终归单人心
终归单人心 2021-01-22 03:47

I have an integer hard-coded in my code base that needs to be extracted into a method so it can be changed in only one place. This integer is used across multiple models. I\'ve

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