This week in Rails
Past issues
Apr 27
Jun 16
May 18 2019
Performance improvements, large file uploads to S3 and more!
Hello fellow Rubyist!
This is
Greg
, bringing the latest news about the Rails framework!
Fill a Trix editor easily in system tests
ActionDispatch::SystemTestCase#fill_in_rich_text_area
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
ActiveRecord#respond_to?
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
to_hash
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.
40 people
contributed to Rails in the last week. If you want to be part of that, check out the list of
open issues
.
Until next time!
Previous Issues
Sep 27
Autumn is here, and so is Rails 7 Alpha 2! 🍂
Sep 17
Rails 7 alpha released
Sep 11
Bye-bye Byebug, Hello jsbundling and cssbundling!
Aug 28
Remove default reliance on Sass and more!
Aug 21
Good-bye classic mode, --skip-puma, --skip-gemfile.. hello weekday_options_for_select!
Aug 13
ESM importmap and Marginalia
Aug 8
Active Record goodies and more!
Jul 31
Favicons, InvalidAuthenticityToken message gains, Journey optimizations and more!
Jul 23
Active record improvements and much more
Jul 19
Performance and parallel testing improvements and more!
Load More