---
title: "The first alpha of Rails 7.0"
publication: "Ruby Weekly"
issue: 570
published_at: "2021-09-16"
canonical_url: "https://rubyweekly.com/issues/570"
---

Plus a look at a new hash shortcut in Ruby 3.1, and ways to deploy Rails apps onto your own servers. |        

#​570 — September 16, 2021 

[Read on the Web](https://rubyweekly.com/issues/570)   

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/xro0mxpf61ksmhzbn1sm.jpg)](https://chrisseaton.com/truffleruby/rubykaigi21/)  

[The Future 'Shape' of Ruby Objects](https://chrisseaton.com/truffleruby/rubykaigi21/) — Chris looks at history to propose a change to MRI around _shapes_ which are a form of polymorphic inline cache used in Self (a shoot-off of Smalltalk) and if you’re still reading then you’ll enjoy this article. At the very least, you’ll learn something about how Ruby internally handles objects, as it’s very well presented. 

Chris Seaton   

[Rails 7.0 Alpha 1 Released](https://weblog.rubyonrails.org/2021/9/15/Rails-7-0-alpha-1-released/) — DHH has teased us with looks at what Rails 7 will offer, particularly in regard to its management of JavaScript code, for the past few weeks, but now there’s an official alpha release to dig into. Other goodies like [encrypted attributes](https://github.com/rails/rails/pull/41659) and [async query loading](https://github.com/rails/rails/pull/41372) also make an appearance. 

David Heinemeier Hansson   [![\](https://copm.s3.amazonaws.com/6bce9efc.png)](https://blog.cloud66.com/new-rails-rollout-strategies/?utm_source=cp&utm_medium=n&utm_campaign=RubyWeekly-q3-2) 

[Rails Rollout Strategies](https://blog.cloud66.com/new-rails-rollout-strategies/?utm_source=cp&utm_medium=n&utm_campaign=RubyWeekly-q3-2) — Cloud 66 now supports Blue / Green deployments, Canary Releases and Preview Deployments. Build, test and ship higher-quality applications quicker and with less effort. 4-week free trial + extra $100 free credits with the code:`Ruby-Weekly!` 

Cloud 66 sponsor   

[First Impressions of Ruby 3.1's Shorthand Hash Syntax](https://dev.to/baweaver/ruby-3-1-shorthand-hash-syntax-first-impressions-19op) — Remember when Ruby 1.9 added the `{ a: 10 }` style format? This change is smaller but opens up quite a few interesting (and confusing) ideas, especially the ability to define a method as a key-value pair. 

Brandon Weaver   

[Goodbye, Dear Frank](https://jekyllrb.com/news/2021/09/14/goodbye-dear-frank/) — Over the weekend, the Jekyll core team learned of the passing of one of our own: Frank Taillandier, a prolific Jekyll project maintainer. 

Jekyll Team   

[How to Build a Search Engine with Ruby and Rails](https://blog.testdouble.com/posts/2021-09-09-how-to-build-a-search-engine-with-ruby-on-rails/) — Search is easy…until it isn’t, and that’s when you start diving into raw SQL or creating functions in the database. What if you made your Ruby code smarter and more flexible? 

Justin Searls     

Jobs  

[Backend Engineer | Remote within CET (-3/+3 hours) | Full-time](https://jobs.lever.co/qonto/284b8162-5293-4ad7-a9e6-4ad26ce0c516?lever-origin=applied&lever-source%5B%5D=Cooperpress) — Join us as a Backend Engineer to create the finance solution all businesses love - Tailor made remote policy or relocation package. 
Qonto   

[Senior Ruby Engineers | Remote US/EMEA | Full-Time](https://orbit.love/weloveruby) — Orbit is building mission control for communities like Kubernetes and CircleCI. Join our remote team that values empathy and the occasional space pun. 
Orbit   

[Find Ruby Jobs Through Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-rubyweekly%29&utm_content=find-your-next-job) — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. 
Hired    

📕 Articles & Tutorials  

[To Free or Not to Free: A Story About a Memory Leak in Strings](https://blog.peterzhu.ca/ruby-str-mem-leak/) — Size is not important when it comes to bugs, which is proven by this well-explained, very simple fix where you’ll learn a lot about strings in Ruby and how to set them free. 

Peter Zhu   

[Friendlier UUID URLs in Ruby](https://www.fastruby.io/blog/ruby/uuid/friendlier-uuid-urls-in-ruby.html) — UUIDs (Universally Unique Identifiers) have a long, cumbersome look to them, but they can be useful if you want non-sequential IDs that don’t give away the size of your dataset. This post analyzes their generation and manipulation in Ruby. 

Francois Buys   

[Building a Documentation Workflow in Rails](https://www.honeybadger.io/blog/documentation-worklow-rails/?utm_source=rubyweekly&utm_medium=email&utm_campaign=ruby) — Good docs make happy customers but it can be HARD. Learn a workflow to keep your docs and updates running smooth like 🧈. 

Honeybadger sponsor   

[Jekyll and the Genesis of the Jamstack](https://www.bridgetownrb.com/future/rip-jekyll/) — The creator of Bridgetown laments what he sees as the waning of the popular Jekyll static site generator but looks forward to the bright future of SSGs. 

Jared White   

[The Tale of Sprockets and Webpacker Duality](https://evilmartians.com/chronicles/the-tale-of-sprockets-and-webpacker-duality) — Sure, you’re dual-booting Rails versions, but are you _dual-building_ your frontend assets? This can help if you’re migrating from Sprockets to Webpacker or rebuild or jsbundling or…something else. 

Evil Martians   

[RSpec Negated Matchers](https://blog.thegnar.co/rspec-negated-matchers) — How to use `define_negated_matcher` to test that the _opposite_ of an existing matcher works as expected in a RSpec test. 

Taylor Kearns   

▶[Discussing Going from Development to Production](https://devchat.tv/ruby-rogues/going-from-development-to-production-ruby-513/) — Five developers talk about their experiences in setting up a maintainable development environment and discuss considerations when deploying to production. 

Ruby Rogues Podcast podcast   

[Free eBook: Effective Indexing in Postgres](https://pganalyze.com/ebooks/postgres-indexing?utm_source=RubyWeeklySecondary09162021) 

pganalyze sponsor   

▶[Aim for Good (GoodJob) with Ben Sheldon](https://www.therubyonrailspodcast.com/383) — We’ve recently mentioned [Good Job](https://github.com/bensheldon/good_job) a few times - it’s a multithreaded, Postgres-based, ActiveJob backend for Rails. Its creator went on to the popular _Ruby on Rails Podcast_ to speak about its genesis, why you’d use it, and the life of being an open source maintainer. 

The Ruby on Rails Podcast podcast   

[How I Keep My Rails Controllers Organized](https://www.codewithjason.com/keep-rails-controllers-organized/) 
Jason Swett  

🛠 Code & Tools  

[HatchBox: Ruby on Rails Apps on Your Own Hosting Provider](https://www.hatchbox.io/) — HatchBox uses a cloud provider (Digital Ocean is supported currently) to deploy servers, databases, and tons of other Rails-related software to create an easy push-button deployment. 

HatchBox   

[rails-base-app: A 'Base' Application for Rails 6 Projects](https://github.com/brunofacca/zen-rails-base-app) — A Rails template with added opinions, including RSpec and Capybara, rubocop, byebug, Devise, Pundit, i18n-ready strings, and more. 

Bruno Facca   

[Frak: A Lightweight Deployment Tool That Uses Rsync](https://github.com/fstrube/frak) — Not a new project, but sent in from a long time reader, so why not? It’s a Ruby script that uses Rsync to deploy code without going via your version control (whether for good or bad..) 

Franklin Strube   

[Clearance 2.5: Email and Password-Based Rails Authentication](https://github.com/thoughtbot/clearance) 
thoughtbot, inc.   

[Solidus 3.1.0: Rails-Powered eCommerce System](https://github.com/solidusio/solidus/releases/tag/v3.1.0) 
Solidus Project   

[M.RB: A `Test::Unit` Runner That Can Run Tests By Line Number](https://github.com/qrush/m) 
Nick Quaranto         

Curated by [Peter Cooper](https://twitter.com/peterc), [Glenn Goodrich](https://twitter.com/ruprict) and [Cooperpress](https://cooperpress.com/). 

[Change your email address](https://rubyweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://rubyweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
