Everything in your app directory should have an application_thing.rb


I haven’t written for a while so I thought I’d write something that has been bugging me. To maintain some sanity, it’s common (and rightfully fine) to have more than your standard 6 directories in your Rails app folder — you know, assets, controllers, helpers, mailers, models, views. The common ones are services, presenters, findersor queries, workers, things like that. If...

Introducing Setsy


There are a lot of gems to handle settings within your Ruby on Rails app. I’ve used Rails Settings Cached previously and I found it good for app-wide settings. I didn’t find it great for model-by-model settings. So I wrote Setsy, a Ruby gem for handling settings. Setsy is relatively simple but very effective library in handling settings on a model-by-model basis. I originally wrote...

How to evaluate your stack


I’m fluent in many languages and I’ve used many frameworks. I have opinions about many of them. If you’ve read anything I’ve written, you’ve seen I’ve fallen in love with an 11-year-old framework. Things I ask myself Who am I trying to impress? Am I trying to impress my friends with my stack? My family? My colleagues? Am I trying to get responses like “wow, that’s a really gutsy move; you must be...