-
A quick tip to speed up bundle installs
So in my case, if I run bundle config set jobs 4, it will use all four processors the next time I use bundle install. Depending on the size of your pro. -
Code Master Blog: How to Use Ruby Case Statements with === / Higher Order Lambdas / Pattern Matching
In this blog post, I will go over a practical example from a real project of how to use the Ruby `case` statement with Class implicit `is_a?` compariso. -
Rails 6.1 adds support for role switching and sharding in database | Saeloun Blog
Rails 6.1 adds the ability to switch a role or shard for an application with multiple databases. This means it is possible to switch connections for on. -
Level Up Your Rails Code Reviews In 11 Ways
Code reviews have become the norm and there are lots of articles that talk about how they should be done, but its easy to get lost in all the details y. -
Simple Ruby Benchmark
Just wanted to check results of running different ruby versions managed by rbenv.
Sample script used from https://ruby-doc.org/stdlib-2.5.0/libdoc/benchmark/rdoc/Benchmark.html
Laptop: Dell XPS 15" old 2 years
OS: Ubuntu 20.04 updated
Ruby versions: 2.2.1 / 2.3.0 / 2.4.2 / 2.5.0 / 2.6.4 / 2.7.0 / 2.7.1 / 2.7.2 / 3.0.0
-
Embed Google Maps JS with Stimulus JS
```js // app/javascript/controllers/map_controller.js export default class extends Controller { static targets = [ ‘map’ ]... -
Using client stubs for easy and reliable integration tests | Fabio Perrella’s Blog
A while ago, I used AWS Ruby SDK to create a method to download files from S3, and I was introduced to Aws::ClientStubs, which is amazing, and it opene. -
How to upgrade from Turbolinks to Hotwire
Upgrading from Turbolinks to Hotwire is actually pretty simple now that Turbo handles error responses... -
Stop worrying about PostgreSQL locks in your Rails migrations
Doctolib applications are used by more than 135 000 medical practitioners in France and Germany. They receive more than 70 million patient visits per m. -
Ruby 3, concurrency and the ecosystem · Kir Shatrov
With the Ruby 3.0 release, there’s been a lot of chatter about concurrency, parallelism, and async IO.With the Ruby 3.0 release, there’s been a lot of .