---
title: "Rails 7.0 released"
publication: "Ruby Weekly"
issue: 583
published_at: "2021-12-16"
canonical_url: "https://rubyweekly.com/issues/583"
---

Plus a Minesweeper clone written in Ruby. |        

#​583 — December 16, 2021 

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

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/x9sy6tf5hzorymk0srxq.jpg)](https://rubyonrails.org/2021/12/15/Rails-7-fulfilling-a-vision)   

[Rails 7.0 Released: Fulfilling a Vision](https://rubyonrails.org/2021/12/15/Rails-7-fulfilling-a-vision) — Following on more than two years after the release of Rails 6.0, **7.0 is here** and it’s a big one. The [release notes](https://edgeguides.rubyonrails.org/7_0_release_notes.html) tell the feature story in a dry way, but in this post DHH outlines the significant changes to areas like the [JavaScript story](https://world.hey.com/dhh/rails-7-will-have-three-great-answers-to-javascript-in-2021-8d68191b), encrypted attributes, and autoloading, in a more exciting way. Plus, as an added bonus, Rails has [a shiny new homepage](https://rubyonrails.org/) boasting that Rails _“scales from HELLO WORLD to IPO.”_ 🎉 

DHH and Rails Core Team   

📺 ▶️ [Rails 7: The Demo – Watch DHH Build a Blog (Again)](https://www.youtube.com/watch?v=mpWFrUwAN88) — It’s time to party like it’s early 2005 when DHH almost seemingly invented the screencast genre with a video showing how easy it was to spin up a simple app with Rails. Over 16 years later, we get a similar video for Rails 7. If you’re not already experienced with Rails 7 and if you learn best though visual experience, it’s well worth a watch. 

David Heinemeier Hansson   [![\](https://copm.s3.amazonaws.com/9250dbe4.png)](https://dashboard.redisgreen.net/rubyweekly) 

[Secure Redis Hosting for Your Team](https://dashboard.redisgreen.net/rubyweekly) — RedisGreen includes all the latest features to help you build, along with the security, scaling and performance that teams need as they grow. 

RedisGreen sponsor   

[Extralite: A New Gem for Working with SQLite Databases](https://noteflakes.com/articles/2021-12-15-extralite) — SQLite is easily my favorite database, even if it’s not well suited for _everything_, so it’s great to see a new client for Ruby that offers more performance than sqlite3-ruby, improved concurrency for multithreaded apps, and easier access to data returned from queries. There’s a Sequel adapter too. 

Sharon Rosner   

[Rails 6.0.4.4 and 6.1.4.4 Released](https://weblog.rubyonrails.org/2021/12/15/Rails-6-0-4-4-and-6-1-4-4-have-been-released/) — Rails 6.0 and 6.1 have seen a few releases this week culminating in these... though [6.0.4.2 and 6.1.4.2](https://weblog.rubyonrails.org/2021/12/14/Rails-6-0-4-2-6-1-4-2-and-7-0-0-rc2-have-been-released/) were security releases to tackle [an open redirect vulnerability](https://discuss.rubyonrails.org/t/possible-open-redirect-in-host-authorization-middleware/79505) triggered by maliciously crafted `X-Forwarded-Host` headers. 

Aaron 'tenderlove' Patterson   

**IN BRIEF:** 

- Google has unveiled general availability for its [Active Record adapter for Google Cloud Spanner](https://cloud.google.com/blog/topics/developers-practitioners/scale-your-ruby-applications-active-record-support-cloud-spanner) – the post includes a tutorial, too.
- Some thoughts on [what it was like to attend RubyConf virtually](https://thoughtbot.com/blog/attending-rubyconf-virtually).
- A developer shares [their experience with Ruby for Good](https://blog.planetargon.com/entries/my-experience-with-ruby-for-good).     

Jobs  

[Rails Engineering Manager @ Nebulab (Remote)](https://nebulab.com/careers?gh_src=359acc02teu) — Join our distributed team and build high-volume eCommerce applications in a workplace made by developers for developers. 
Nebulab   

[Ruby on Rails Engineer at Apple (Vancouver, Canada)](https://jobs.apple.com/en-us/details/200282543/ruby-on-rails-engineer-apple-media-products?team=SFTWR) — The Apple Media Products Engineering team is looking for a proven software engineer to build and enhance algorithmic quality evaluation tools. 
Apple   

[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  

▶[How to Use Kredis with Rails](https://gorails.com/episodes/how-to-use-kredis-with-rails) — [Kredis](https://github.com/rails/kredis) is a library that offers a more Rubyish object oriented way to work with data stored in Ruby. This 14-minute screencast covers its use for creating a ‘recent searches’ feature in an app. 

Chris Oliver (GoRails)   

[The Fastest Way to Load Data Into Postgres from Rails](https://pganalyze.com/blog/fastest-way-importing-data-into-postgres-with-ruby-rails) — A look at four approaches from inserting one record at a time (not fast, unsurprisingly) through to custom copy approaches (faster), or using a background job (a lot faster). 

Eze Sunday Eze   

[`rb_gc_force_recycle` is Deprecated in Ruby 3.1](https://blog.peterzhu.ca/rb_gc_force_recycle-deprecation/) — This will only affect anyone maintaining a native extension, which is probably a tiny minority of you, but if so... 

Peter Zhu   

[Want to Transfer a Domain with No Downtime? 👀 Our Handy Checklist 👉](https://dnsimple.link/ruby-weekly/16Dec2021) 

DNSimple sponsor   

▶[Why Ruby2JS is a Game Changer](https://www.fullstackruby.dev/podcast/1/) — [Ruby2JS](https://www.ruby2js.com/) is a Ruby to JavaScript transpiler, and Jared argues its main value is in being able to write as if JavaScript had Ruby’s rich syntax and standard library. 

Jared White podcast   

▶[Discussing the Use of Ractors with Ivo Anjo](https://rubyrogues.com/ractors-ft-ivo-anjo-ruby-527) — The Actor-model-esque parallel execution mechanism turned up in Ruby 3.0 and while you can [hit the docs](https://ruby-doc.org/core-3.0.0/Ractor.html) for examples, this podcast episode gives you another angle to come from. 

Ruby Rogues Podcast podcast   

[Dynamic Filters with Rails and Hotwire](https://bhserna.com/dynamic-filters-with-rails-and-hotwire.html) 
Benito Serna   

[Four Tips on How to Make More Out of Sidekiq](https://frontdeveloper.pl/2021/12/4-tips-on-how-to-make-more-out-of-sidekiq/) 
Igor Springer   

[Making a Single Page Search with Turbo](https://sourcediving.com/making-a-single-page-search-with-turbo-ff96160362a8) 
Tony Rowan  

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/ngk8epwaxgnypoy0ztb3.jpg)](https://github.com/piotrmurach/minehunter)   

[Minehunter: Terminal Mine Hunting Game](https://github.com/piotrmurach/minehunter) — Tis the season to play some games, perhaps? A fun little _Minesweeper_-influenced game written in Ruby that you can play on the terminal. Could be fun to tweak too if you have some spare time. 

Piotr Murach   

[Pay: A Payments Engine for Rails Apps](https://github.com/pay-rails/pay/) — Wraps around other payment APIs (from Stripe, Paddle, and Braintree) and because it was created by Chris Oliver of GoRails fame, there’s [an introductory screencast](https://www.youtube.com/watch?v=hYlOmqyJIgc), of course. 

Chris Oliver and Contributors   

[Application Performance Monitoring Built for Developers, by Developers](https://ter.li/sk526c) — Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues. 

Scout sponsor   

[Rails.new: New Mac to Rails Development in 11 Minutes?](https://rails.new/) — The folks at Bullet Train decided to do something about the setup required to get started with Rails on macOS. They plan on growing the tool and adding a Windows version. (As with any `bash | curl` type thing, take a look at what’s going on behind the scenes first – it seems to ultimately run [this rails.rb file.](https://rails.new/rails.rb)) 

Bullet Train   

[xferase: An 'Always-On' Automated Photo Import Utility](https://github.com/rlue/xferase) — An interesting use case for Ruby here. It watches for photos added to a file system and then organizes them for import to another system. 

Ryan Lue   

[MemoWise 1.4: A Modern Choice for Ruby Memoization](https://github.com/panorama-ed/memo_wise) 
Panorama Education   

[angular_rails_csrf: Rails Integration for AngularJS Style CSRF Protection](https://github.com/jsanders/angular_rails_csrf) 
James Sanders   

[Loofah 2.13.0: Nokogiri-Powered HTML/XML Manipulation and Sanitization](https://github.com/flavorjones/loofah) 
Mike Dalessio         

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
