Written content to help you along your web development journey, without forgetting to have some fun along the way.
Filters are the way to make liquid work for you, but sometimes we want more context than we are given when running them.
It's easy to let Liquid templates get away and bog down build times. Here's a quick way to find out which templates are the culprits.
Once you are running a console in your ruby project, it's nice to not have to restart the console session every time you make a change.
A powerful way to debug Rails applications is in using the Rails console. But even when you're not using Rails for your Ruby project, you can still have a console.
Logging output during ruby processes is hugely beneficial for gaining insight into running code.
Long-running processes can appear to hang when you aren't given feedback. So let's give some feedback.
It can take some tricky logic to transform unpredictable characters into a URL-friendly string. But with Rails, you don't need to worry about.
Ruby is fun to write, and it's pretty easy to use Ruby to perform ad hoc services for you. Here are a few approaches.
There are many tools for searching and replacing, but most don't support changing multiple lines in one process.
No need to mess with Apache or Nginx to run a web server on your local machine. Just use this node command.