From 4b681bd50f1a9d805e5b09421637a3017aaa72aa Mon Sep 17 00:00:00 2001 From: John Bampton Date: Mon, 12 Apr 2021 00:56:31 +1000 Subject: [PATCH] Fix spelling in ActionText::FixtureSet.attachment docs [ci skip] --- actiontext/lib/action_text/fixture_set.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actiontext/lib/action_text/fixture_set.rb b/actiontext/lib/action_text/fixture_set.rb index db9fd3c2c5..b3641f457e 100644 --- a/actiontext/lib/action_text/fixture_set.rb +++ b/actiontext/lib/action_text/fixture_set.rb @@ -50,7 +50,7 @@ module ActionText # second_content: # record: second (Article) # name: content - # body:
Hello, <%= ActionText::FixtureSet.attachment("artcles", :first) %>
+ # body:
Hello, <%= ActionText::FixtureSet.attachment("articles", :first) %>
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