RubyFlow The Ruby and Rails community linklog

How to use ActionText custom attachments in Rails 6

Rails 6 introduces ActionText which is a way to edit and display rich text. We can use it to create @mentions and other features as custom attachments to reference models in our app. When a model changes (like a user changes their avatar) our rich text automatically updates. Watch how to build @mentions with ActionText in Rails 6

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in