diff options
author | colorbox <colorbox222@gmail.com> | 2019-01-24 17:44:35 +0900 |
---|---|---|
committer | colorbox <colorbox222@gmail.com> | 2019-01-24 17:44:35 +0900 |
commit | 91fc859016ceabcb67462dadc05c2853d33eaf02 (patch) | |
tree | 7a0e1598aed7bec81c51b81d3951c514c0e9867a /actiontext/app/models/action_text | |
parent | c91c71fa154951bde42839b26c9d0f9dd3005fd9 (diff) | |
download | rails-91fc859016ceabcb67462dadc05c2853d33eaf02.tar.gz rails-91fc859016ceabcb67462dadc05c2853d33eaf02.tar.bz2 rails-91fc859016ceabcb67462dadc05c2853d33eaf02.zip |
Fix document formatting on Action Text docs [ci skip]
Use `+` instead of backquote.
Diffstat (limited to 'actiontext/app/models/action_text')
-rw-r--r-- | actiontext/app/models/action_text/rich_text.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actiontext/app/models/action_text/rich_text.rb b/actiontext/app/models/action_text/rich_text.rb index 705dd30983..1f39bc51b9 100644 --- a/actiontext/app/models/action_text/rich_text.rb +++ b/actiontext/app/models/action_text/rich_text.rb @@ -1,10 +1,10 @@ # frozen_string_literal: true module ActionText - # The RichText record holds the content produced by the Trix editor in a serialized `body` attribute. + # The RichText record holds the content produced by the Trix editor in a serialized +body+ attribute. # It also holds all the references to the embedded files, which are stored using Active Storage. # This record is then associated with the Active Record model the application desires to have - # rich text content using the `has_rich_text` class method. + # rich text content using the +has_rich_text+ class method. class RichText < ActiveRecord::Base self.table_name = "action_text_rich_texts" |