What are the gems that every Ruby dev should know how to use?

This page summarizes the projects mentioned and recommended in the original post on /r/rails

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. Blueprinter

    Simple, Fast, and Declarative Serialization Library for Ruby

    Just an FYI: While I agree that the blueprinter gem is awesome, there are currently no active maintainers: https://github.com/procore/blueprinter/issues/288

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. bundler-audit

    Patch-level verification for Bundler

    bundler-audit - check for known security issues

  4. Discard

    🃏🗑 Soft deletes for ActiveRecord done right

    discard - a soft-delete implementation that avoids a lot of the gotchas associated with paranoia or acts_as_paranoid gem.

  5. CanCanCan

    The authorization Gem for Ruby on Rails.

    It fails deadly -- forgetting to pass an instance grants unintended access, and this problem is so bad they have a document explaining how to avoid it. If you use a permission in an unintended way, it should not grant access.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Access control gem for your Rails application (the 2nd)

    4 projects | dev.to | 26 Apr 2021
  • Rails Built-in Rate Limiting: A Deep Dive

    3 projects | dev.to | 3 Aug 2025
  • Bringing AI Agent Capabilities to Ruby with MCP

    4 projects | dev.to | 14 Feb 2025
  • [Rails] How We Reduced API Response Rendering Time by 30%

    10 projects | dev.to | 1 Feb 2025
  • What are some common strategies for preventing SQL injection vulnerabilities in Rails beyond ActiveRecord?

    2 projects | dev.to | 23 Dec 2024

Did you know that Ruby is
the 12th most popular programming language
based on number of references?