instance method encryptable_rich_texts

Ruby on Rails 7.2.3

Since v7.0.10 Private

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

encryptable_rich_texts()

No documentation comment.

Source
# File actiontext/lib/action_text/encryption.rb, line 34
      def encryptable_rich_texts
        @encryptable_rich_texts ||= self.class.rich_text_association_names
          .filter_map { |attribute_name| send(attribute_name) }
          .find_all { |record| record.is_a?(ActionText::EncryptedRichText) }
      end

Defined in actiontext/lib/action_text/encryption.rb line 34 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionText::Encryption

Type at least 2 characters to search.

↑↓ navigate · open · esc close