đ We're back! And, no, you didn't miss a special Xmas edition of the newsletter, as I decided to enjoy the week off ;-) Unsurprisingly this issue focuses on the Ruby 3.1 release but Jemma is also back with a new Tip of the Week at the end of the issue, so we hope you enjoy that too :-) |
#â585 â January 6, 2022 |
Ruby Weekly |
đ Â Ruby 3.1.0 Released on Christmas Day â As is traditional for Ruby, we got a significant new release on Christmas Day, although I was too busy eating turkey to notice at the time. The most exciting addition this time is YJIT, the latest attempt at adding JIT compilation to Ruby, although itâs still considered experimental. There are some other things, too:
Yui Naruse |
A Look at All of Ruby 3.1's Changes â As great as the official release posts (above) are, we really love Victorâs technical and code-led guides to whatâs new in new versions of Ruby. His 3.1 guide is no exception and while 3.1 isnât as rich with new language feature as 3.0 was, itâs great to see them shown off in this way along with links to the original discussions. Victor Shepelev |
Stripe-Quality Webhooks for Everyone â Get reliable inbound and outbound webhook delivery, with debugging and logging, in minutes. Click here to learn how. Hook Relay sponsor |
How Ruby and Web Components Can Work Together â Jared (the creator of Bridgetown) shares some real-world examples of a componentized view architecture, mostly using the Serbea template engine and Ruby2JS. Jared White |
Opal 1.4 Released: Ruby 3.1 Support and More â Opal is a popular Ruby to JavaScript transpiler for writing frontend code in pure Ruby. v1.4 focuses on Ruby 3.1 compatibility (2.6 remains fine, however) but also packs in some performance and bundle size improvements. Adam Beynon and Contributors |
IN BRIEF:
RELEASES: Dalli 3.2 â High perf memcached client. |
|
đ Articles & Tutorials |
Rails Authentication From Scratch â A nice code-along that creates your own Devise including confirmation, password reset, sessions, accounting for common attacks, and more. Steve Polito |
How Ruby's Jason Swett |
Five Things You Did Not Know About Rails Transactions â Whether youâre using them explicitly or not, theyâre there, so knowing some of their surprising behavior is a good idea. PaweĆ DÄ browski (Long Live Ruby) |
đ The Developer Experience Youâve Always Wanted for Postgres Crunchy Bridge sponsor |
â¶Â  Talking about Game Development in Ruby with Victor David Santos â Victor David Santos is the creator of a Ruby platform game weâve mentioned a few times in the past year: Super Bombinhas. The Ruby on Rails Podcast podcast |
Rails is the 'One Person Framework' â Rails 7.0 was 2021âs big news, but DHH took some time to reflect on how he feels Rails is the perfect framework for a single person to use to âcreate modern applications upon which they might build a competitive businessâ. David Heinemeier Hansson |
Why I Don't Buy 'Duplication Is Cheaper Than The Wrong Abstraction'
|
đ Â Code & Tools |
Bullet 7.0: Help to Resolve N+1 Queries and Unused Eager Loading â Monitor your appâs database queries to find inefficiencies (N+1 queries, unused eager loading) for you to resolve. Works with Active Record and Mongoid. Richard Huang |
EBNF 2.3: An EBNF Parser and Generic Parser Generator â Supports LL(1) parsing as well as the packrat parser approach. D.R.Y. Ruby |
Seamlessly Integrate Video into Your Ruby App â Mux is an API-first platform that makes it easy to build beautiful video that streams everywhere. Mux sponsor |
immudb-ruby: A Ruby Client for an Immutable Database â ImmuDB is an immutable âzero trustâ-based database system written in Go. Andrew Kane |
ocktokit_scripts: Some Helpful Ruby Scripts Using Octokit to Automate Tasks in GitHub â Thereâs a label update script and a one to transfer a repo from a user to an organization. Meg Gutshall |
AttrJson: Serialized JSON-Hash-Backed Active Record Attributes â Focused on Postgres which has great native JSON type support. Jonathan Rochkind |
slack-ruby-client: A Ruby Client for Slack's Web, Real Time Messaging and Event APIs
|
devise_cas_authenticatable 2.0: CAS Authentication Support for Devise
|
ActiveType 2.1.0: Make Any Object 'Quack' Like an Active Record Object
|
MessageBus: A Reliable and Robust Messaging Bus for Ruby and Rack
|
|