diff options
Diffstat (limited to 'lib/action_text/attribute.rb')
-rw-r--r-- | lib/action_text/attribute.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_text/attribute.rb b/lib/action_text/attribute.rb index 8426726a38..8439073c00 100644 --- a/lib/action_text/attribute.rb +++ b/lib/action_text/attribute.rb @@ -12,7 +12,7 @@ module ActionText # # message = Message.create!(content: "<h1>Funny times!</h1>") # message.content.to_s # => "<h1>Funny times!</h1>" - # message.content.body.to_plain_text # => "Funny times!" + # message.content.to_plain_text # => "Funny times!" # # The dependent RichText model will also automatically process attachments links as sent via the Trix-powered editor. # These attachments are associated with the RichText model using Active Storage. |