Remove default_scope
from StatusEdit
class (#28042)
This commit is contained in:
parent
990c63b440
commit
4be12791e6
3 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ class StatusEdit < ApplicationRecord
|
|||
belongs_to :status
|
||||
belongs_to :account, optional: true
|
||||
|
||||
default_scope { order(id: :asc) }
|
||||
scope :ordered, -> { order(id: :asc) }
|
||||
|
||||
delegate :local?, :application, :edited?, :edited_at,
|
||||
:discarded?, :visibility, to: :status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue