Most Popular Ruby on Rails gems:
- simple_form – industry-standard way to create forms
- faker – create fake data
- friendly_id – create pretty URLs
- ransack – search and filter data
- public_activity – track all actions in the application
- pagy – the best gem for pagination
- devise – authentication (users can log in)
- rolify – assign users different roles
- pundit – authorization (users can perform different actions)
- haml-rails – industry-standard markup language
- chartkick – beautiful charts
- groupdate – group data by periods
- exception_notifications – error messages in production
- rails-erd – generate an Entity Relationship Diagram
- ranked-model – order items in a list
- aws-sdk-s3 – store files on AWS S3
- active_storage_validations – validate attachments
- image_processing – display and manage images
- recaptcha – no bots will sign up
- wicked_pdf – style and generate PDF documents
- wicked – wizard for step-by-step forms
- omniauth-google-oauth2 – sign in with google
- omniauth-facebook – sign in with facebook
- omniauth-github – sign in with github
- cocoon – nested forms
- stripe – accept payments
Development
Testing
After completing a feature, it must be documented and tested to ensure that the code performs as expected for a given behavior and use case. It is always necessary to begin with a failing test case and then refactor just enough code to pass the test.
Test Relate
Faker