Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rails_live_dashboard

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rails_live_dashboard

  • 0.2.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

RailsLiveDashboard

Gem Version

RailsLiveDashboard is a real-time debug dashboard for Rails applications. It provides insights into requests, queries, and exceptions, empowering developers to debug their applications effectively in development environments.

Modules Implemented

  • Dashboard: Show environment ruby and rails version, slowest requests and slowest queries.

  • Requests: Show requests data, like controller, action, status code, params and duration.

  • Exceptions: Show exception data, like traces and file.

  • Queries: Show queries data, like SQL and duration.

  • Jobs: Show jobs data, like name, job_id, paramers, history, status and duration.

Note: This gem is not recommended for production use, as it may potentially slow down your application and significantly increase your database size.

Dashboard screen

Installation

Add this line to your application's Gemfile:

gem 'rails_live_dashboard'

We recommend adding it within your development gem group.

Then execute:

$ bundle install

Install migrations into your project:

$ rails rails_live_dashboard:install:migrations

Then run the migration:

$ rails db:migrate

To mount the RailsLiveDashboard routes and access the dashboard, add the following to your routes file:

mount RailsLiveDashboard::Engine, at: '/live-dashboard' if Rails.env.development?

Configuration

After installing RailsLiveDashboard, a configuration file will be created at config/initializers/rails_live_dashboard.rb:

RailsLiveDashboard.configure do |config|
  config.enabled = true
end

You can configure it by setting:

  • enabled: A boolean value to enable or disable RailsLiveDashboard subscribers.

Contributing

We welcome contributions from the community to help enhance RailsLiveDashboard. Whether it's through bug fixes, feature enhancements, or documentation improvements, your contributions are invaluable in making RailsLiveDashboard even better!

To contribute, simply fork the repository, make your changes, and submit a pull request.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 14 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc