Flowdock
method

fragment_by_replacing_attachment_gallery_nodes

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: AttachmentGallery
fragment_by_replacing_attachment_gallery_nodes(content) public

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/attachment_gallery.rb, line 14
      def fragment_by_replacing_attachment_gallery_nodes(content)
        Fragment.wrap(content).update do |source|
          find_attachment_gallery_nodes(source).each do |node|
            node.replace(yield(node).to_s)
          end
        end
      end
Register or log in to add new notes.