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 […]
Vote for me as Ruby on Rails Thinker of the Year in the Hacker Noon 2020 Noonies.
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.
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.