Sha256: 071da207acbc29ec584b0ff1caca175500075b441880b7b7af16447c90a6666c
Contents?: true
Size: 413 Bytes
Versions: 37
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true module ActionText class FixtureSet 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 end
Version data entries
37 entries across 37 versions & 4 rubygems