Improving readability by replacing logic with methods
Command validation and responses
How I learned a new programming language having fun and using tests.
Returning basic time ranges using ActiveSupport methods.
How many times you needed to return a specific time range in order to use it on a query?
If you are used to format string via % operator you should be careful with dynamic content evaluation. Here is how I handle special cases when using dynamic e-mail subjects.