Our great sponsors
-
devise_masquerade
Extension for devise, enable login as functionality. Add link to the masquerade_path(resource) and use it.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
postmark-rails
Official integration library for using Rails and ActionMailer with the Postmark HTTP API
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
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.
This gem makes sure you don’t embarrasingly send emails to real users whilst developing or testing, life-saver!
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.
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
-
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
- Mastering Rails Web Navigation with link_to and button_to Helpers - Part 2
- Ready System with a Modern Stack and Many Features Using Ruby 3.2, Rails 7.0 and Avo 2