diff options
-rw-r--r-- | app/models/action_text/rich_text.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/action_text/rich_text.rb b/app/models/action_text/rich_text.rb index efc35a6465..e4fc178ba4 100644 --- a/app/models/action_text/rich_text.rb +++ b/app/models/action_text/rich_text.rb @@ -8,6 +8,6 @@ class ActionText::RichText < ActiveRecord::Base has_many_attached :embeds after_save do - self.embeds_attachments_blobs = body.attachments.map(&:attachable) + self.embeds_blobs = body.attachments.map(&:attachable) end end |