The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Restoring A Flaky Spec Suite
The community has been discussing flaky tests recently. I wanted to share the process and learnings from taking a large legacy Spec suite from a success rate of 55% up to over 95% and climbing. The post shares process, specific flaky test tips, and scripts to help you get there. Learn more in Restoration of a Ruby Test Suite.
Migrating from Paperclip to ActiveStorage: a different approach
In this article we discuss how to migrate hundreds of thousands of attachments from Paperclip to ActiveStorage without downtime:
The Evolution of Ruby Strings from 1.8 to 2.5
An overview of the String class since Ruby 1.8.. SEE MORE
Greatest Common Divisors using LISP and Ruby
Compare the elegant solution of MIT-Scheme and Ruby to implement the Euclid algorithm to compute GCD: Greatest Common Divisors using LISP and Ruby
Ruby Conferences 'n' Camps in 2019 Update - What's Upcoming in Sept? Nov? Dec?
Hello, I’ve updated the Ruby Conferences ‘n’ Camps in 2019 - What’s Upcoming? Calendar page @ Planet Ruby. [more inside]
Debugging Ruby projects in Visual Studio Code
In this article I explain how configure Visual Studio Code debugger for your Ruby project in clean and simple way using .rbenv, and bundler. [more inside]
Cypress for Ruby on Rails developers
In this article, we demonstrate how to integrate Cypress into a Ruby on Rails development cycle by setting up tests in both local and CI environments. Check it out!
Scope Gates in Ruby: modules & nesting
When we use the module keyword:
Ruby Pattern Matching
Go-to reference for Ruby Pattern Matching
Why do we fail at abstractions?
We have all been there. We got a task to introduce totally new functionality. New database relations, controllers, services, models, views. We all said: this time it will be different. We asked the right business questions, and designed exactly what was requested. In spite of that, three sprints later, things got messy. The code is rigid, the business requirements have changed and the project is out of hand, again. [more inside]
From TravisCI to GitHub Actions
If premature optimization is the root of all evil, should procrastination until the right tool arrives be divine? If so, then yours truly would be the Patron saint of pragmatic & lazy programmers everywhere. I’m no adoption curve laggard, rather more like an early majority adopter with an extended view of the x-axis 😅 and I’m here to convince you that now is the right time to reevaluate your CI/CD needs.
sportdb Gem Guide - Working w/ Football CSV Files - English Premier League 2019/20
Hello, I’ve updated the hands-on getting started guide for the new sportdb text library / gem. Let’s build the standings table for the English Premier League (EPL) for the 2019/20 season from all 40 matches (as of Sept/2) in the comma-separated values (.csv) format. Full article titled “Working with CSV Files”. Enjoy the beautiful game with ruby.