Flowdock
method

attachment

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: FixtureSet
attachment(fixture_set_name, label, column_type: :integer) 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/fixture_set.rb, line 5
    def self.attachment(fixture_set_name, label, column_type: :integer)
      signed_global_id = ActiveRecord::FixtureSet.signed_global_id fixture_set_name, label,
        column_type: column_type, for: ActionText::Attachable::LOCATOR_NAME

      %(<action-text-attachment sgid="#{signed_global_id}"></action-text-attachment>)
    end
  end
Register or log in to add new notes.