From 1e250e6ee273237d2879872e523a643a4b9b6c32 Mon Sep 17 00:00:00 2001 From: Eugene Kenny Date: Sun, 3 Oct 2021 21:48:05 +0100 Subject: [PATCH] Replace "ActionText" with "Action Text" [ci skip] http://guides.rubyonrails.org/api_documentation_guidelines.html#wording --- guides/source/action_text_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/action_text_overview.md b/guides/source/action_text_overview.md index 5717ea221bf..b0e307b84e6 100644 --- a/guides/source/action_text_overview.md +++ b/guides/source/action_text_overview.md @@ -47,7 +47,7 @@ happens after every keystroke, and avoids the need to use execCommand at all. Run `bin/rails action_text:install` to add the Yarn package and copy over the necessary migration. Also, you need to set up Active Storage for embedded images and other attachments. Please refer to the [Active Storage Overview](active_storage_overview.html) guide. -NOTE: ActionText uses polymorphic relationships with the `action_text_rich_texts` table so that it can be shared with all models that have rich text attributes. If your models with ActionText content use UUID values for identifiers, all models that use ActionText attributes will need to use UUID values for their unique identifiers. The generated migration for ActionText will also need to be updated to specify `type: :uuid` for the `:record` `references` line. +NOTE: Action Text uses polymorphic relationships with the `action_text_rich_texts` table so that it can be shared with all models that have rich text attributes. If your models with Action Text content use UUID values for identifiers, all models that use Action Text attributes will need to use UUID values for their unique identifiers. The generated migration for Action Text will also need to be updated to specify `type: :uuid` for the `:record` `references` line. After the installation is complete, a Rails app should have the following changes: