class ActionText::Attachables::ContentAttachment
def self.from_node(node)
def self.from_node(node) attachment = new(content_type: node["content-type"], content: node["content"]) attachment if attachment.valid? end
def self.from_node(node) attachment = new(content_type: node["content-type"], content: node["content"]) attachment if attachment.valid? end