Ruby on Rails 6.0 is here, and it’s action-packed!

Share
  • August 19, 2019

A new version of open source framework Ruby on Rails has been released, and it’s got a bunch of new features. We’ve outlined the biggest changes below.

Two new frameworks

Action Mailbox allows incoming emails to be routed to controller-like mailboxes for processing in Rails. It comes with ingresses for Amazon SES, Mailgun, Mandrill, Postmark, and SendGrid, and can also deal with inbound emails directly with the built-in Exim, Postfix, and Qmail ingresses.

Another new framework, Action Text, means rich text content and editing are now possible in Rails. It also includes Basecamp’s Trix editor, and any rich text content created by it is saved in its own RichText model that’s associated with any existing Active Record model in the application. Embedded images and other attachments are stored using Active Storage and associated with the RichText model.

Parallel Testing

This feature allows the test suite to be parallelized, reducing the amount of time necessary to run a test suite and helping users get the most out of their CPU cores. Forking processes is the default technique, but threading is also supported.

Source : JAXenter