chore: upgrade ruby version to 3.4.4 (#11524)

- Chore upgrade ruby version to 3.4.4 before we migrate to rails 7.2
over #11037
This commit is contained in:
Sojan Jose
2025-05-21 07:10:07 -07:00
committed by GitHub
parent 3c8abd5b30
commit bc42aec68e
26 changed files with 469 additions and 412 deletions

View File

@@ -16,8 +16,8 @@
# index_email_templates_on_name_and_account_id (name,account_id) UNIQUE
#
class EmailTemplate < ApplicationRecord
enum locale: LANGUAGES_CONFIG.map { |key, val| [val[:iso_639_1_code], key] }.to_h
enum template_type: { layout: 0, content: 1 }
enum :locale, LANGUAGES_CONFIG.map { |key, val| [val[:iso_639_1_code], key] }.to_h, prefix: true
enum :template_type, { layout: 0, content: 1 }
belongs_to :account, optional: true
validates :name, uniqueness: { scope: :account }