Fix spelling in ActionText::FixtureSet.attachment docs [ci skip]
This commit is contained in:
parent
02811fe343
commit
4b681bd50f
|
@ -50,7 +50,7 @@ module ActionText
|
||||||
# second_content:
|
# second_content:
|
||||||
# record: second (Article)
|
# record: second (Article)
|
||||||
# name: content
|
# 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)
|
def self.attachment(fixture_set_name, label, column_type: :integer)
|
||||||
signed_global_id = ActiveRecord::FixtureSet.signed_global_id fixture_set_name, label,
|
signed_global_id = ActiveRecord::FixtureSet.signed_global_id fixture_set_name, label,
|
||||||
column_type: column_type, for: ActionText::Attachable::LOCATOR_NAME
|
column_type: column_type, for: ActionText::Attachable::LOCATOR_NAME
|
||||||
|
|
Loading…
Reference in New Issue