Mitch

Mitch

Using strftime for Date Formatting

photo shows an zoomed in watch face with weekday, date, and month dials.

For some reason when I’m working with dates in Ruby or R, I forget that there is a super handy method that can be used to format a date, or even a string, so that it looks completely different. Most…

TIL: The Annotate Gem

orange lines and dots connected together.

Today, while watching a video by CJ Avilla, he used a neat little gem that describes the schema of the models in his project. At 8:32 (video is cued up below) he installs the Annotate gem and then runs an…