Hello. This is Wojtek here bringing you the exciting updates from Rails.
Rails 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 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
Until next time!