Sunday, June 27, 2021

Support preloads on instance dependent associations and more!

Posted by gregmolnar

Hi there, this is Greg, bringing you the latest changes in Rails!

Time#change should pass the zone property through if it’s set

This PR fixes an issue with changing date objects when the zone is set.

Fix number_to_currency to avoid negative format when displaying zero

This PR fixes number_to_currency to avoid negative format when displaying zero. Before this change, number_to_currency(-0.00456789, precision: 2) _returned _$-0.00

Support preloads on instance dependent associations

From now on instance dependent associations are supporting preloading. To get more details about this change, read the PR descriptions, it explains it really well.

37 people contributed to Rails since last time. All the changes can be checked here. Until next week!