-
RSpec - a gentle introduction to testing
Writing useful tests is as important as writing the right code. The good news is that with Ruby, testing the code is a friendly and grateful task. The .
-
Automatically migrate database when pushing to Heroku
I used to freak out when seeing this, but most of the time it is caused by me forgetting to run rake db:migrate after deploying a feature which has new.
-
Migrating Classic Slack Ruby Bots to Granular Permissions
Slack recently introduced granular permissions and is now requiring all new apps to use those. The old apps are called classic apps, and new apps are c.
-
Ruby Enumerable tally
For the Advent of Code, I was curious if there was a good way to do this in one line[1] (no technical reason, just because...)Not sure why, but it dawn.
-
Why you shouldn’t inherit from Ruby’s core classes (and what to do instead)
Sooner or later you’ll want to subclass Ruby’s String, Array, or Hash. In this now-free RubyTapas video, you’ll learn why that’s a bad idea… and what t.
-
Rails 6.1 RC2: Horizontal Sharding, Multi-DB Improvements, Strict Loading, Destroy Associations in Background, Error Objects, and more!
The second release candidate for Rails 6.1 has been released and brings a more robust experience for those already trying this version. We’ve been hard.
-
1.5 is the midpoint between 0 and infinity in Ruby
What’s the midpoint between 0 and infinity? Well the answer differs depending on whether you are asking a mathematician, philosopher, or a Ruby develop.
-
Best of Ruby Gems Series | Ruby Advent Calendar 2020 - 25 Days of Ruby Gems / Libraries
Ruby Advent Calendar 2020 - 25 Days of Ruby Gems / Libraries, December 1 - December 25 Gem of the Week Series...
-
Squash Unexpected-End errors with syntax_search
Have you ever hit an error that you just plain hate? Back in 2006, I was learning to program Ruby and following an example from a book. I typed in what.
-
How do I make testing a habitual part of my development work? - Code with Jason
One of the most common questions asked by Rails developers new to testing is: how do I make testing a habitual part of my development work?It’s one thi.