Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Rails 6 #58

Open
jeremylynch opened this issue Oct 23, 2023 · 3 comments
Open

Compatibility with Rails 6 #58

jeremylynch opened this issue Oct 23, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@jeremylynch
Copy link

jeremylynch commented Oct 23, 2023

Noted the readme states works with Rails 4.2+ (and probably 4.1, 4.0 too) and Ruby 2.2+. Does it work with Rails 5 and beyond?

I have tried to install this on Rails 6.1 and I am getting no data showing in the dashboard:

image

We have tried the following to resolve:

  • Confirming that we have the default (unchanged) config file.
  • We have tried to install the latest release by using gem 'rails_performance', github: 'igorkasyanchuk/rails_performance'
  • Confirming Redis is running, have tried restarting redis
  • Have tried running in debug mode, and can see the data appears to be going into Redis
@igorkasyanchuk
Copy link
Owner

@jeremylynch strange, but can you try "dummy" app (if you clone this gem)

also, if you will clone repo and connect locally in your app:

gem 'rails_performance', path: "../rails_performance"

and try to debug this file https://github.com/igorkasyanchuk/rails_performance/blob/master/lib/rails_performance/rails/middleware.rb

don't forget to always restart server if you will change any file from the gem.

@igorkasyanchuk igorkasyanchuk added the help wanted Extra attention is needed label Oct 24, 2023
@abuisman
Copy link

I just tried it on a rails 7.1 app and it works.

@Floppy
Copy link

Floppy commented Oct 24, 2024

Same here, working fine on Rails 7.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants