
























Hello. This is Wojtek here bringing you the exciting updates from Rails.
Rails 4.2.11.1, 5.0.7.2, 5.1.6.2, 5.2.2.1, and 6.0.0.beta3 have been released containing important security fixes. Note that with 6.0 release only Rails 6.x.y and Rails 5.2.x are guaranteed to receive both major and minor security fixes by Rails core.
It’s now possible to insert many records at once within one SQL statement. You can check summary of this feature in Josef’s blog post.
Bring back clean state of database seeds with this simple command without redoing the database structure.
Self-explained by an example:
[ 1, 2, 3 ].including(4, 5) => [ 1, 2, 3, 4, 5 ]
For parity, method without was renamed to excluding.
54 people contributed to Rails in the last 2 weeks. You can see the full list of changes here.
Until next time!
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。