Must-have gems for mature Rails

This page summarizes the projects mentioned and recommended in the original post on dev.to

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. rubocop

    A Ruby static code analyzer and formatter, based on the community Ruby style guide.

    gem "rubocop" - https://github.com/rubocop/rubocop | Set up code guidelines for your dev team, I recommend using whatever Standard recommends.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. standard

    Ruby's bikeshed-proof linter and formatter 🚲 (by standardrb)

    gem "rubocop" - https://github.com/rubocop/rubocop | Set up code guidelines for your dev team, I recommend using whatever Standard recommends.

  4. Annotate

    Annotate Rails classes with schema and routes info

    gem "annotate" - https://github.com/ctran/annotate_models | Adds DB-schema comments to models. May be unnecessary on RubyMine, YMMW.

  5. Lol DBA

    lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.

    gem "lol_dba" - https://github.com/plentz/lol_dba | Inspect the state of table indexes.

  6. SimpleCov

    Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites

    gem "simplecov" - https://github.com/simplecov-ruby/simplecov | Gather spec coverage stats locally and on CI, aim for those 90+%.

  7. strong_migrations

    Catch unsafe migrations in development

    gem "strong_migrations" - https://github.com/ankane/strong_migrations | Helps devs write non-blocking migrations, a must-have.

  8. packwerk

    Good things come in small packages.

    gem "packwerk" - https://github.com/Shopify/packwerk | Allows modularising Ruby code, a must-have for growing projects.

  9. SaaSHub

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

    SaaSHub logo
  10. Ruby Tests Profiling Toolbox

    Ruby Tests Profiling Toolbox

    gem "test-prof" - https://github.com/test-prof/test-prof | Toolkit for inspecting and optimising your test-suite, a must-have.

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

  • Query multiple tables easily with Rails and Postgres Views

    1 project | dev.to | 31 Jul 2024
  • How to avoid N+1 query using SQL views (materialized) in Rails application

    1 project | dev.to | 14 May 2024
  • Uniqueness validation does not work since the beginning of Ruby on Rails.

    3 projects | dev.to | 4 Feb 2023
  • Database Views & Rails Active Record: defining new Model classes out of views

    2 projects | dev.to | 23 Jan 2023
  • Evaluating More Coverage in Ruby 3.2

    1 project | dev.to | 14 Jan 2023

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