mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 07:22:32 -05:00
subject only email message
This commit is contained in:
1 parent
f9669b0e16
commit
e316d2006f
4 files changed
+11
-10
No files matched your search
@@ -31,6 +31,8 @@ class EmailMessage < ApplicationRecord
|
||||
|
||||
attribute :uuid, :string, default: -> { SecureRandom.uuid }
|
||||
|
||||
normalizes :body, with: ->(value) { value.to_s }, apply_to_nil: true
|
||||
|
||||
before_validation :set_sha1, on: :create
|
||||
|
||||
def normalized_body
|
||||
|
||||
Reference in new issue
Block a user