Class: ActionText::FixtureSet
- Inherits:
-
Object
- Object
- ActionText::FixtureSet
- Defined in:
- lib/action_text/fixture_set.rb
Class Method Summary collapse
Class Method Details
.attachment(fixture_set_name, label, column_type: :integer) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/action_text/fixture_set.rb', line 5 def self.(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 |