RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

How to create modals with form handling through a Turbo frame

Rendering async content in a modal has become really easy with the latest version of Turbo.js. There’s one trick that’s needed to ensure the validation errors stay displayed right in the modal.

See the full solution here:

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