A curated list of Awesome Rails Gems.
- A/B testing
- AI
- ActiveRecord
- ActiveRecord Validations
- Administration
- Analytics
- API
- Authentication
- Authorization
- Background processing
- Business logic
- Charts
- Code quality
- Debugging
- Development
- E-commerce
- Encryption
- Feature flags
- Forms
- GDPR
- Geocoding
- HTTP client
- I18n
- Images
- Logging
- Multi-tenancy
- Notifications
- Pagination
- Payments
- PDF generation
- Performances
- QR Codes
- Search
- SEO
- Security
- Testing
- Views and related
- ankane / field_test A/B testing for Rails
- alexrudall / ruby-openai Use the OpenAI API with Ruby!
- gbaptista / ollama-ai A Ruby gem for interacting with Ollama's API that allows you to run open source AI LLMs (Large Language Models) locally.
- aasm / aasm AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)
- ankane / active_median Median and percentile for Active Record, Mongoid, arrays, and hashes
- brendon / acts_as_list An ActiveRecord plugin for managing lists.
- ActsAsParanoid / acts_as_paranoid ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
- mbleigh / acts-as-taggable-on A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.
- ryanto / acts_as_votable Votable ActiveRecord for Rails
- stefankroes / ancestry Organise ActiveRecord model into a tree structure
- ctran / annotate_models Annotate Rails classes with schema and routes info
- ankane / blazer Business intelligence made simple
- countries / countries All sorts of useful information about every country packaged as convenient little country objects.
- magnusvk / counter_culture Turbo-charged counter caches for your Rails app.
- jhawthorn / discard Soft deletes for ActiveRecord done right
- ankane / groupdate The simplest way to group temporal data
- ankane / hightop A nice shortcut for group count queries
- gocardless / ibandit Convert national banking details into IBANs, and vice-versa.
- plentz / 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.
- RubyMoney / monetize A library for converting various objects into
Money
objects. - RubyMoney / money A Ruby Library for dealing with money and currency conversion.
- RubyMoney / money-rails Integration of RubyMoney - Money with Rails
- rubysherpas / paranoia acts_as_paranoid for Rails 5, 6 and 7
- excid3 / prefixed_ids Friendly Prefixed IDs for your Ruby on Rails models
- public-activity / public_activity Easy activity tracking for models - similar to Github's Public Activity
- voormedia / rails-erd Generate Entity-Relationship Diagrams for Rails applications
- brendon / ranked-model An acts_as_sortable/acts_as_list replacement built for Rails 4, 5 and 6
- doctolib / safe-pg-migrations Make your PostgreSQL migrations safe
- jpmcgrath / shortener Shortener makes it easy to create shortened URLs for your rails application.
- ankane / strong_migrations Catch unsafe migrations in development
- daddyz / phonelib Ruby gem for phone validation and formatting using google libphonenumber library data
- truemail-rb / truemail Configurable framework agnostic plain Ruby email validator/verifier. Verify email via Regex, DNS, SMTP and even more. Be sure that email address valid and exists.
- validates-email-format-of / validates_email_format_of Validate e-mail addreses against RFC 2822 and RFC 3696 with this Ruby on Rails plugin and gem.
- perfectline / validates_url URL Validation for Rails
- micke / valid_email2 ActiveModel validation for email. Including MX lookup and disposable email blacklist
- yolk / valvat Validates european vat numbers. Standalone or as a ActiveModel validator.
- activeadmin / activeadmin The administration framework for Ruby on Rails applications.
- railsadminteam / rails_admin RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
- ankane / ahoy Simple, powerful, first-party analytics for Rails
- ankane / ahoy_email First-party email analytics for Rails
- Apipie / apipie-rails Ruby on Rails API documentation tool
- doorkeeper-gem / doorkeeper Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.
- jwt / ruby-jwt A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.
- rswag / rswag Seamlessly adds a Swagger to Rails-based API's
- ankane / authtrail Track Devise login activity
- heartcombo / devise Flexible authentication solution for Rails with Warden.
- scambra / devise_invitable An invitation strategy for devise
- tinfoil / devise-two-factor Barebones two-factor authentication with Devise
- ankane / pretender Log in as another user in Rails
- mdp / rotp Ruby One Time Password library
- varvet / pundit Minimal authorization through OO design and pure Ruby classes
- mperham / sidekiq Simple, efficient background processing for Ruby
- sidekiq-scheduler / sidekiq-scheduler Lightweight job scheduler extension for Sidekiq
- AaronLasseigne / active_interaction Manage application specific business logic.
- collectiveidea / interactor Interactor provides a common interface for performing complex user interactions.
- collectiveidea / interactor-rails Interactor Rails provides Rails support for the Interactor gem.
- trailblazer / trailblazer The advanced business logic framework for Ruby.
- ankane / chartkick Create beautiful JavaScript charts with one line of Ruby
- topfunky / gruff Gruff graphing library for Ruby
- Shopify / better-html Better HTML for Rails
- Shopify / erb-lint Lint your ERB or HTML files
- flyerhzm / rails_best_practices a code metric tool for rails projects
- rubocop / rails-style-guide A community-driven Ruby on Rails style guide
- rubocop / rubocop A Ruby static code analyzer and formatter, based on the community Ruby style guide.
- rubocop / rubocop-rails A RuboCop extension focused on enforcing Rails best practices and coding conventions.
- rubocop / rubocop-rspec Code style checking for RSpec files
- airbnb / ruby Ruby Style Guide
- Shopify / ruby-style-guide Shopify’s Ruby Style Guide
- BetterErrors / better_errors Better error page for Rack apps
- deivid-rodriguez / byebug Debugging in Ruby 2
- bkeepers / dotenv A Ruby gem to load environment variables from
.env
. - ffaker / ffaker Faker refactored.
- ryanb / letter_opener Preview mail in the browser instead of sending.
- solidusio / solidus Solidus, the open-source eCommerce framework for industry trailblazers.
- ankane / blind_index Securely search encrypted database fields
- ankane / lockbox Modern encryption for Ruby and Rails
- jnunemaker / flipper Beautiful, performant feature flags for Ruby.
- DavyJonesLocker / client_side_validations Client Side Validations made easy for Ruby on Rails
- countries / country_select Gemification of rails's country_select
- heartcombo / simple_form Forms made easy for Rails! It's tied to a simple DSL, with no opinion on markup.
- prey / gdpr_rails Rails Engine for the GDPR compliance
- alexreisner / geocoder Complete Ruby geocoding solution.
- lostisland / faraday Simple, but flexible HTTP client library, with support for multiple backends.
- jnunemaker / httparty Makes http fun again!
- tigrish / devise-i18n Translations for the devise gem
- svenfuchs / rails-i18n Repository for collecting Locale data for Ruby on Rails I18n as well as other interesting, Rails related I18n stuff
- toy / image_optim Optimize images using multiple utilities
- janko / image_processing High-level image processing wrapper for libvips and ImageMagick/GraphicsMagick
- roidrage / lograge An attempt to tame Rails' default policy to log everything.
- shadabahmed / logstasher Awesome rails logs
- ankane / logstop Keep personal data out of your logs
- ErwinM / acts_as_tenant Easy multi-tenancy for Rails in a shared database setup.
- rpush / rpush The push notification service for Ruby.
- excid3 / noticed Notifications for Ruby on Rails applications
- kaminari / kaminari A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Ruby webapps
- ddnexus / pagy The Best Pagination Ruby Gem
- mislav / will_paginate Pagination library for Rails, Sinatra, Merb, DataMapper, and more
- pay-rails / pay Payments for Ruby on Rails apps
- gettalong / hexapdf Versatile PDF creation and manipulation for Ruby
- pdfkit / pdfkit A Ruby gem to transform HTML + CSS into PDFs using the command-line utility wkhtmltopdf
- prawnpdf / prawn Fast, Nimble PDF Writer for Ruby
- invopop / prawn-attachment Attach files to Prawn generated PDF documents
- mileszs / wicked_pdf PDF generator (from HTML) plugin for Ruby on Rails
- Shopify / bootsnap Boot large Ruby/Rails apps faster
- flyerhzm / bullet help to kill N+1 queries and unused eager loading
- DamirSvrtan / fasterer Don't make your Rubies go fast. Make them go fasterer ™.
- ankane / pghero A performance dashboard for Postgres
- Shopify / pitchfork Rack HTTP server for shared-nothing architecture
- pawurb / rails-pg-extras Rails PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.
- rubocop / rubocop-performance An extension of RuboCop focused on code performance checks.
- whomwah / rqrcode A Ruby library that encodes QR Codes
- meilisearch / meilisearch-rails Meilisearch integration for Ruby on Rails
- Casecommons / pg_search pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search
- activerecord-hackery / ransack Object-based searching.
- ankane / searchkick Intelligent search made easy
- norman / friendly_id FriendlyId is the “Swiss Army bulldozer” of slugging and permalink plugins for ActiveRecord.
- kpumuk / meta-tags Search Engine Optimization (SEO) for Ruby on Rails applications.
- kjvarga / sitemap_generator SitemapGenerator is a framework-agnostic XML Sitemap generator written in Ruby with automatic Rails integration. It supports Video, News, Image, Mobile, PageMap and Alternate Links sitemap extensio…
- presidentbeef / brakeman A static analysis security vulnerability scanner for Ruby on Rails applications
- rubysec / bundler-audit Patch-level verification for Bundler
- teamcapybara / capybara Acceptance test framework for web applications
- thoughtbot / factory_bot A library for setting up Ruby objects as test data.
- rspec / rspec-rails RSpec for Rails 5+
- simplecov-ruby / simplecov Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
- fnando / browser Do some browser detection with Ruby. Includes ActionController integration.
- drapergem / draper Decorators/View-Models for Rails Applications
- thoughtbot / high_voltage Easily include static pages in your Rails app.
- jamesmartin / inline_svg Embed SVG documents in your Rails views and style them with CSS
- bullet-train-co / nice_partials A little bit of magic to make partials perfect for components.