-
Switching from Sqlite3 to Postgres
Let me tell you, I had been avoiding making this update for months. It seemed hard and scary and I was afraid I would break something. But you know what? It was kind of a mess, but not as much of a mess as I thought it would be. There are a lot of tutorials […] -
Nominee: Ruby on Rails Thinker of the Year
Vote for me as Ruby on Rails Thinker of the Year in the Hacker Noon 2020 Noonies. -
Creating Associated Objects in Single Page Applications
A few months ago, I had the idea to build a simple game that functions something like this. The game mechanics changed in the early stages of building it in Ruby on Rails (Rails) and Javascript. One feature, I knew I wanted, was to be able to add a player’s name and their score to […] -
Singular or Plural? A Cheatsheet for Ruby on Rails Generators
Ruby on Rails generators are good at doing the manual work for you. However, small mistakes like the wrong noun form (singular or plural) can be amplified and cause functionality errors. -
Using .inject to Find the Most Popular Item in a Has_Many, Through Relationship
What is the most common item in your database? This post outlines working with has_many, through relationships in Ruby and how to query and sort the data to get the most popular item.