diff options
Diffstat (limited to 'actiontext')
-rw-r--r-- | actiontext/actiontext.gemspec | 1 | ||||
-rw-r--r-- | actiontext/app/models/action_text/rich_text.rb | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/actiontext/actiontext.gemspec b/actiontext/actiontext.gemspec index edc173349e..e9381d1ec5 100644 --- a/actiontext/actiontext.gemspec +++ b/actiontext/actiontext.gemspec @@ -2,7 +2,6 @@ version = File.read(File.expand_path("../RAILS_VERSION", __dir__)).strip -# Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = "actiontext" diff --git a/actiontext/app/models/action_text/rich_text.rb b/actiontext/app/models/action_text/rich_text.rb index 3cd15ca59a..a577c991b9 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 -# 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" |