Ruby 2 Keyword Arguments
With Ruby 2.0 we now have first-class support for keyword arguments in our method parameters. ("First class" means it is a fundamental part of the...
With Ruby 2.0 we now have first-class support for keyword arguments in our method parameters. ("First class" means it is a fundamental part of the...
Consider the following method. Assume that the call to thing.method_that_possibly_raises! might raise an app exception we will call SomeAppException? def some_method thing.method_that_possibly_raises! ensure return thing end What we...
What is RVM Big Sur? RVM stands for Ruby Version Manager and is a tool used by Ruby developers to switch between different versions of...
It is said of Ruby's creator Yukihero Matsumoto, 'Matz is Nice and So Are We.' It is this mantra about the Ruby community and programming...
For a Good Strftime lets you easily create the Ruby syntax for strftime. Just select how you want your dates: month first, day first, year any place. With dashes, slashes, or colons.
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 into your Ruby on Rails...
Today I'm announcing 'a first look' at my new Gem: Universal Track Manager. It's an ambitious project that's going to have nearly universal appeal and utility....
1. deivid-rodriguez/byebug Byebug is a fantastic debugger available for Ruby 2 (and presumably above). Drop gem 'byebug' into your Rails app Gemfile and bundle install....
1. Create an ErrorsController in app/controllers class ErrorsController < ApplicationController def not_found respond_to do |format| format.html { render template: "errors/not_found", layout: "layouts/application", status:...
Today I'll take a moment to expound on how web development has changed over the last two decades. Long ago, when we started back in...