Connecting thoughts
Articles written by SINAPTIA about Ruby.
Rediscovering fixtures
Over the last couple of months, I’ve been investing a lot of time in improving my testing skills. I spent most of this time in going back to the basics, trying to start from scratch with every little concept one takes for granted. Trying to see everything through a child’s eyes. And today I’m rediscovering fixtures.
Guidelines for writing better specs
In our last couple of posts, we’ve been reviewing common problems with long-living RSpec test suites and contrasting them against Minitest and the four-phase testing strategy. There are situations where migrating to Minitest is safer and possible, but what can we do if we are still using RSpec and changing it is not an option?
Make minitest/unit Great Again
This sentence is wrong but funny. Minitest has always been great. In our last post, a situation made me think if I should be critical about how I test (and testing in general) and if I should do something about it. This is what happened next.
Don't over-engineer your tests
I’ve used RSpec for years, and until recently I had to work with a colleague that never really tested before. This process made me think if I should be critical about how I test and if I should (or shouldn’t) do something about it.
Optimizing background jobs execution with Delayed::UniqueJob
Delayed Job doesn’t have a mechanism for defining unique jobs. Enqueing a time-consuming or resource-intensive job multiple times could be harmful if not treated accordingly. Introducing Delayed::UniqueJob, a Ruby gem for defining unique jobs in Delayed Job.
A remote require for Ruby
I have been fascinated by Deno’s remote import since I discovered it. Experiment with me on how to make a remote require for Ruby based on Deno’s remote import.
A discussion around Integer division in Ruby
We will explore Ruby’s division behavior and analyze several alternatives to obtain a true division.
la_plata.rb September meetup
On 14th September, another la_plata.rb meetup occurred. We had some fun and learned some new things. Here’s a recap.
Bringing a 10-year-old Ruby on Rails app back to life
Last week we published the case study of one of our first projects. After 10 years in the archive, I found and brought this old Ruby on Rails 4.0 application back to life.
Debunking myths about Ruby
There’s a lot of criticism of Ruby and Ruby on Rails. In this post, we will try and debunk four widespread myths about Ruby.