method

attachment_for_node

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Content
attachment_for_node(node, with_full_attributes: true) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actiontext/lib/action_text/content.rb, line 162
      def attachment_for_node(node, with_full_attributes: true)
        attachment = ActionText::Attachment.from_node(node)
        with_full_attributes ? attachment.with_full_attributes : attachment
      end
Register or log in to add new notes.