Rails 5.2.1: Overwriting default ActiveRecord/FinderMethods find behaviour best practice

前端 未结 0 1995
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 09:37

My goal is to return posts to case-independent human readable links. I have overwritten to_param to get links instead of id. And now I am trying to overwrite find() method o

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