mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix spelling in ActionText::FixtureSet.attachment docs [ci skip]
This commit is contained in:
parent
02811fe343
commit
4b681bd50f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue