Hello. This is Wojtek here bringing you the exciting updates from Rails.
Rails 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 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!