This week in Rails
Weekly inside scoop of interesting commits, pull requests and more from Rails, delivered to your inbox every Friday. Read more about our story!
Hello everyone! This is Vipul bringing news from yet another week of Rails.
30 people contributed to Rails this week, including 5 first-time contributors! If you are interested in becoming a contributor, you can have a look at the issues list.
Going forward, params parsing will be handled by the Request object itself. This removes need for the ParamsParser middleware. In fact, it's mostly been removed.
Rails.middlewares -= 1
String#strip_heredoc performance got improved such that it has become around 40 times faster! Plus it saves some memory too.
After some careful investigation, it turns out that some of the code in AS::Callbacks is not needed anymore. It always feels good to lose some dead weight!
Action View now uses the correct MIME type automatically just as it does when used by Action Dispatch. This fixes issues with sending multipart emails.
The restrict_with_error error message now uses the correct name from the owner class instead of the association class' name.
When action_mailer.show_previews is set, then mailer previews will get displayed in non-local environments too!
That's all for This week in Rails. As always, there are many more changes than we have room to cover here, but feel free to check them out yourself.
Until next time!