This week in Rails
May 18 2019
Performance improvements, large file uploads to S3 and more!
Hello fellow Rubyist!
, bringing the latest news about the Rails framework!
Fill a Trix editor easily in system tests
can locate and fill a Trix editor with the given HTML in your system tests.
ActiveRecord#respond_to? performance improvements
The changes introduced by this pull request made
1.5x faster and it also no longer allocates strings.
Permit uploading files larger than 5 GB to S3
If you are using S3 with Active Storage, now you can upload large files and the services will transparently switch to streaming.
HashWithIndifferentAccess#initialize performance improvement
With this change, a quite expensive
call is bypassed in the constructor if we are already dealing with a hash.
Expose mailbox_for method in ApplicationMailbox
Rails 6 is bringing Action Mailbox and with this change, it will be possible to check which mailbox an email is routed to without processing it.
contributed to Rails in the last week. If you want to be part of that, check out the list of
Until next time!