-
devise_masquerade
Extension for devise, enable login as functionality. Add link to the masquerade_path(resource) and use it.
Alongside this, devise_masquerade is a fantastic plugin to use with your admin area, allowing you to login as other users. This is helpful for debugging account specific issues etc.
-
Judoscale
Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Rails, Sidekiq, Solid Queue, and more to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up job queues.
-
This gem makes sure you don’t embarrasingly send emails to real users whilst developing or testing, life-saver!
-
postmark-rails
Official integration library for using Rails and ActionMailer with the Postmark HTTP API
Postmark is a service I have been using for years! It’s really easy to integrate into Rails using their postmark-rails gem, plus the product is great, easy to use and very reliable.
-
For testing I use RSpec, along with shoulda-matchers for easily testing model relations & validations.
-
I often don’t set this up right away, but within the first week or two of development comes the time for background jobs. I like to stick with what I know and Sidekiq along with it’s web interface is easy to use and reliable.
-
Next up is error monitoring with Sentry. Exceptions usually happen in production when real users get a hold of your code, and making sure these are tracked helps a ton in seeing what’s going on and fixing it!
-
This one is a small, but very useful gem. It helps set page titles, meta keywords and even open graph tags for sharing on social sites. This is a must if you have a lot of publicly accessible pages and want to start doing some SEO.
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
The final gem I like to include in all projects is rack-attack. This is a rate limiting tool which is great for throttling dangerous actions in your app to prevent bot attacks or other malicious users.
-
I usually tend to create these from Scratch, but moving forward I’ve started to use thoughtbot’s administrate gem. It sticks to the Rails conventions of controllers and routing, so it’s easy to customise and add new functionality to.
Related posts
-
What are some common strategies for preventing SQL injection vulnerabilities in Rails beyond ActiveRecord?
-
ActiveAdmin v4 Beta: New Features, Upgrades, and How to Migrate
-
solid_queue alternatives - Sidekiq and good_job
3 projects | 21 Apr 2024 -
First commits in a Ruby on Rails app
-
Show HN: Build your startup or side project faster with these SaaS templates