
Making the Most of Your Logs in Rails
It’s easy to get going with logging in Rails, but hard to master. Learn log levels, tagged and structured logging, and how to get the most from your logs.
AppSignal combines performance monitoring and error tracking in one clear interface.

It’s easy to get going with logging in Rails, but hard to master. Learn log levels, tagged and structured logging, and how to get the most from your logs.

Learn every way to generate random numbers in Ruby: rand and ranges, seeded Random instances for tests, and SecureRandom for tokens, UUIDs, and passwords.

Set up shoulda-matchers 8 with RSpec on Rails 8.1: install and configure the gem, fix the validate_presence_of NoMethodError, and use grouped matcher tables.

Set up Sidekiq 8 in a Rails app, write and enqueue background jobs, weigh Sidekiq against Solid Queue, and monitor queue latency, failures, and memory.

Learn how to define custom exception classes in Ruby: inherit from StandardError, set default messages, add context, and group errors into hierarchies.

Devise is a full-featured Rails authentication gem built on Warden. Install it, use its 10 modules, and see when to pick it over Rails 8’s built-in auth.

Learn how to handle exceptions in a Grape API: rescue_from handlers, error! responses, validation errors, and custom error classes, verified on Grape 3.3.

When you're troubleshooting in production, the right charts should already be in front of you. AppSignal dashboards now give you more control over layout, while Intelligence dashboards, Apdex, AppSignal MCP, and the CLI help you connect revisions, errors, throughput, and more.

Give your coding agent one prompt to install AppSignal, then follow its progress as your app starts reporting.

What Rails 8 ships and requires: built-in authentication, Solid Queue, Kamal 2, and production SQLite, plus support timelines and an upgrade checklist.

One trace across every service a request touches, including the Sidekiq job your Rails request just enqueued. In beta for Ruby, Python, and PHP, and here’s how to turn it on.

We’re taking our partnership with Chris Oliver one step further: 10 Ruby and Rails tutorials, made with GoRails, now in the context store AppSignal Intelligence reads.
AppSignal provides insights for Ruby, Rails, Elixir, Phoenix, Node.js, Express and many other frameworks and libraries. We are located in beautiful Amsterdam. We love stroopwafels. If you do too, let us know. We might send you some!
Need help or have a feature request? Talk to a real engineer. Not a bot, not a ticket queue.
AppSignal is built by a small, dedicated team spread across the world. We love stroopwafels. If you do too, let us know. We might send you some.