feat: update enums

This commit is contained in:
Shivam Mishra
2025-03-06 20:05:59 +05:30
parent 0f02455224
commit b545653a93
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
#
class DeleteRequest < ApplicationRecord
belongs_to :account, optional: true
enum :status, %w[pending processing completed].index_by(&:itself), default: :pending
enum :status, %w[pending complete].index_by(&:itself), default: :pending
before_create :ensure_unqiue_confirmation_code