Ensure with Explicit Return
Consider the following method. Assume that the call to thing.method_that_possibly_raises! might raise an app exception we will call SomeAppException? What we have here…
Setting the Architectural Standard in the Age of AI
Ruby
Consider the following method. Assume that the call to thing.method_that_possibly_raises! might raise an app exception we will call SomeAppException? What we have here…
What is RVM Big Sur? RVM stands for Ruby Version Manager and is a tool used by Ruby developers to…
It is said of Ruby’s creator Yukihero Matsumoto, ‘Matz is Nice and So Are We.’ It is this mantra about…
For a Good Strftime lets you easily create the Ruby syntax for strftime. Just select how you want your dates:…
Today I’ve finished version 0.5 of my new Gem, Universal Track Manager. It’s a plug-and-play Rails engine that you install…
Today I’m announcing ‘a first look’ at my new Gem: Universal Track Manager. It’s an ambitious project that’s going to have…
1. deivid-rodriguez/byebug Byebug is a fantastic debugger available for Ruby 2 (and presumably above). Drop gem ‘byebug’ into your Rails…
1. Create an ErrorsController in app/controllers class ErrorsController < ApplicationController def not_found respond_to do |format| format.html { render template: “errors/not_found”,…
Today I’ll take a moment to expound on how web development has changed over the last two decades. Long ago,…
Sometimes in the life of a hybrid Rails-Javascript app you may want to do something unique: have a config file…