Embarking on a journey through the world of Ruby on Rails (Rails), aspiring software developers inevitably stumble upon a multitude of programming conventions and methodologies. The DRY principle, an acronym for “Don’t Repeat Yourself,” is a fundamental precept echoing loudly throughout Rails terrain. While Rails isn’t the sole benefactor of this rule, the DRY philosophy…
Continue ReadingTag: DRY
Adding custom error pages to our rails app
Default Error Pages Rails already comes with its own error pages which is okay but too simple, but we can add our own custom error pages, just to make it look a lot nicer, here’s a quick and easy way on how you can do that. Popular Examples The default error pages that comes with…
Continue Reading