Nimble Industries

Tagruby

Dependabot is Now Free and It’s Amazing

D

GitHub acquired Dependabot and made it free so we tried it out. The results were better than expected. We have long been advocates for consistent software maintenance. It might seem obvious, but software simply must be maintained and kept up to date with its dependencies or it risks atrophying until it becomes an unmaintainable pile of trash. Dependabot is an excellent tool for preventing...

Stop using Time.now and Date.today

S

When reviewing Rails apps, I often find many uses of Time.now and Date.today, each of which comes from Ruby itself. Although these methods seem convenient and accessible, they should be avoided inside of Rails apps, as they aren’t converted to the local time zone set inside Rails. Imagine the following (admittedly naive) method inside an Order model: def shipped? shipping_date < Date...

Nimble Industries