Essential & useful gems and library for a Rails app
1 min readNov 28, 2020
For better coding
Debugging
- Better_errors
- Pry-byebug
- Pry-rails
Authentication & Authorization
- Devise (deprecated)
- Clearance
- OmniAuth (Authentication via social networks accounts like Google or Facebook)
- CanCanCan
- Pundit
- Rolify
- Active Admin
Performance analyzer
- PGHero: A performance dashboard for Postgres
- Skylight: To understand and act on your app’s performance data
- Bullet
- RubyCritic
Testing
- Rspec
- Database_cleaner
- Factory_girl
- Capybara
- Shoulda-matchers
- Simplecov
For development env
- Letter Opener
- Dotenv-Rails
Uploading Files
- Active Storage: Facilitates uploading files to a cloud storage service.
- CarrierWave: Provides a simple and extremely flexible way to upload files from Ruby applications
- Minimagick
Search
- Elasticsearch-model , elasticsearch-rails
Encryption
Pagination
- Will_paginate
- Kaminari: A Scope & Engine based, clean, powerful, customizable and sophisticated paginator.
Background Job
- Delayed Job
- Sidekiq
Other some awesome gems and library
- sidekiq-cron
- ActiveModelSerializers
- Jbuilder
- Fast_jsonapi
- OJ: A fast JSON parser and Object marshaller as a Ruby gem.
- Haml, Slim-rails
- Activerecord-import
- Hashid Rails
- Flipper
- Bulk_insert
- Geocoder
- PaperTrail: Track changes to your models, for auditing or versioning.
- Groupdate: The simplest way to group by the hour, day, week, month, year etc.
- Http, Httparty
Thanks.