Rails 6 comes with ActionText which allows you to edit and display rich text in your applications.
Notifications for ActionText User Mentions
#299 · Pro
When you at-mention a user, you typically want to send email or other types of notifications to alert that user they were mentioned. In this episode, we'll look into ActionText Content to see how we can extract the user mention attachments and do that.