DEV Community

Cover image for 27 Ruby Gems I use in almost every project

27 Ruby Gems I use in almost every project

Rob Race on March 21, 2017

...and pretty much can't live without The Rails community thrives on its open source gems. Implementing a well written, well tested and ...
Collapse
 
12s12m profile image
12s12m

Very nice list!

Here are a few extras which I use:

  • annotate: adds annotations to the models, I add them to the end of the file
  • bullet: for showing unoptimized sql queries
  • contracts: this is a great library to add pre assertions to your methods
  • administrate: for the admin
  • whenever: for the cron schedules
Collapse
 
rob__race profile image
Rob Race

That’s a solid list of suggestions there. I’ll have to check out contracts. Don’t think I have seen that before!

Collapse
 
phallstrom profile image
Philip Hallstrom

pry-rails

Collapse
 
rob__race profile image
Rob Race

I'm a puts debugger :-|

Collapse
 
jesalg profile image
Jesal Gadhia

Related - byebug

Collapse
 
maestromac profile image
Mac Siri

I 2nd this.

Collapse
 
prodis profile image
Fernando Hamasaki • Edited

Useful for me: oj, redis, puma, better_errors, pry-byebug, pry-rails, pry, wannabe_bool :)

Thanks for sharing.

Collapse
 
thaleshcv profile image
Thales Herbert

Nice! I also use database_cleaner and faker on tests environment.

Collapse
 
kiddeveloper profile image
Samuel Raphael

This is a very helpful list. Thanks Rob!

Collapse
 
menjilx profile image
Menj

Thanks :D very helpful

Collapse
 
burdettelamar profile image
Burdette Lamar

Catch errors early with Contracts:

Collapse
 
ben profile image
Ben Halpern

Thanks for this. Really helpful list.

Collapse
 
user_name profile image
User_name

I've been using Ruby on Rails for 5 months now, and it still amazes me the amount of Gems to choose from. Thank you, from a newbie, for listing all of these out, Rob. Appreciate it!

Collapse
 
lm4rx profile image
Lucas Marques

I always use decent_exposure to make my controller even more lean (and not using instance variables)

Collapse
 
rob__race profile image
Rob Race

Interesting gem. It's a little too abstracted for my taste, but I could see it's usefulness.