method

attachment_for_node

Importance_0
v7.0.0 - Show latest stable - 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 121
      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.