What the difference between implicit_order_column and default_scope in Rails?

前端 未结 0 1640
轻奢々
轻奢々 2020-12-20 15:32

What the difference between:

self.implicit_order_column = \'id\'

and

default_scope { order(\'id ASC\') }
相关标签:
回答
  • 消灭零回复
提交回复
热议问题