profile image
Sean Walker
2020-08-07

7 Ruby Gems That Really Whip The Llama’s Ass

These are some gems I’ve come across in my storied rails programming career that helped me tremendously, and I hope they can help you too!

1. chartkick

If you’re doing any charting which if you’re working on enterprise saas you are, then this is your ticket to unheard of productivity gains

2. groupdate

This one goes hand in hand with chart kick and it really helps you move fast and make things

3. business_time

Need to calculate how many business days there are between two arbitrary dates? Now you don’t have to turn yourself inside out finding the answer!

4. paper_trail

This one is a staple in any rails dev’s arsenal and it has its problems with the centralized logging in a single table at “scale” but when it starts to fall apart you’ll probably have bigger fish to fry.

5. local_time

Stop worrying about timezones. This gem has you covered.

6. diffy

Show differences in text, use this with paper trail for maximum audit logging power

7. hashids

Don’t show integer ids to your peeps, show hashes instead!

That’s all for now, don’t want to give away all my secrets now ;)