Backend
Rails generators are great especially when you get started as they spin up boilerplate code for you in a heartbeat. But did you know you can customise these generators to build your own? Read the article and find out how.
Creating your own custom exception doesn't have to be a daunting task. Dive deep into the world of Ruby Exception and learn how to create your own ones! Get Ready to be a master of exceptions in Ruby!
The DRY principle is one of the first a programmer learns. To properly apply that you need to know how to load code from different locations across your Ruby project. The linked post explores three different options to load code and also introduces the Zeitwerk gem, which is a popular coad-loading tool for Rails and Hanami apps.
|