1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix API docs of ActionText::RichText [ci skip]

This text should appear on the page
https://api.rubyonrails.org/v6.0/classes/ActionText/RichText.html

Related to 86517942e4
This commit is contained in:
bogdanvlviv 2019-01-05 11:00:39 +02:00
parent 86517942e4
commit 78ed534f30
No known key found for this signature in database
GPG key ID: E4ACD76A6DB6DFDD

View file

@ -1,10 +1,10 @@
# frozen_string_literal: true
# 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.
module ActionText
# 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.
class RichText < ActiveRecord::Base
self.table_name = "action_text_rich_texts"