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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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

  • bundler-audit

    Patch-level verification for Bundler

  • bundler-audit - check for known security issues

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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.

  • 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