Ruby 2.7.0 Preview 3 Released — We’re now less than a month from the final release of Ruby 2.7 (which, fingers crossed, should be on Christmas Day, as is the tradition). If you want to get playing with pattern matching, the improved irb , and other new features though, the current preview release is pretty stable.
Yui Naruse
|
The .: Syntax For Referencing Methods Is Cancelled — One new feature that was expected to appear in Ruby 2.7 (and which was only just dropped in preview 3) was .: as a short hand for referencing methods. This thread covers the reasons why it’s been dropped for now – not everyone is happy with the outcome.
ruby-lang.org
|
Using UUIDs in Rails 6 with Postgres and ActiveRecord — UUIDs (which look like long strings of hexadecimal numbers) are an alternative primary key type for databases with pros and cons over standard, ordered integer-based keys. Rails 6 can work with UUID keys pretty well and here’s a quick tour.
Paweł Urbanek
|
Ruby 2.7's Enumerator#produce — produce provides a way to generate sequences - think inject but without a single end result, and instead a sequence of results built around each step.
Prajakta Tambe
|
Senior Rails Engineer (Remote) — Ruby on Rails (5.2), Stimulus, Postgres & Heroku — We strive to keep our frameworks/libraries up to date. Perks: Remote team, competitive pay, meaningful company equity.
Fleetio
|
Find a Job Through Vettery — Make a profile, name your salary, and connect with hiring managers from top employers. Vettery is completely free for job seekers.
Vettery
|
Bulk Inserting Records in Rails 6 — If you want to load in a lot of data in one go, Rails 6 introduces some extra methods you’ll find useful: insert_all , insert_all! , upsert_all (upsert_all lets you basically merge a bunch of records into a database, updating existing entries as it goes).
Alkesh Ghorpade
|
Rails 5.2.4 Released — Just a minor maintenance release. 6.0.1 remains the latest product release of Rails, though 6.0.2rc1 is also out with 6.0.2 final due next week.
Official Rails Blog
|
|