|Rails 6 Adds Action Mailbox And Parallel Testing|
|Written by Kay Ewbank|
|Friday, 23 August 2019|
There's a major update to Ruby on Rails that adds an action mailbox, action text, ability to use multiple databases, and parallel testing. The new version also supports Webpacker by default and Zeitwerk.
Ruby on Rails is a web-application framework written in Ruby. It's intended for creating database-backed web apps using the model–view–controller framework.
The new action mailbox framework lets you route incoming emails to controller-like mailboxes for processing in Rails. It comes with the ability to work with mails from Amazon SES, Mailgun, Mandrill, Postmark, and SendGrid. You can also handle inbound mails directly via the built-in Exim, Postfix, and Qmail ingresses.
Action text is another framework, this time providing support for rich text content and editing in Rails. It uses the Trix editor for much of its functionality, including formatting, handling links, lists, embedded images and galleries. The rich text that's generated is saved in its own RichText model that's associated with any existing Active Record model in the application.
There's better support for multiple databases so apps can connect to more than one database at once. The support comes via a simple API.
Parallel testing support has also been added to this release. This means you can make use of multiple cores so large test suites run faster. Each testing worker gets its own database and runs in its own thread.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Friday, 23 August 2019 )|