Fix spelling in ActionText::FixtureSet.attachment docs [ci skip]

This commit is contained in:
John Bampton 2021-04-12 00:56:31 +10:00 committed by GitHub
parent 02811fe343
commit 4b681bd50f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ module ActionText
# second_content:
# record: second (Article)
# name: content
# body: <div>Hello, <%= ActionText::FixtureSet.attachment("artcles", :first) %></div>
# body: <div>Hello, <%= ActionText::FixtureSet.attachment("articles", :first) %></div>
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