You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure why this isn't working. When I go to /rails/performance I get the above error. App is Rails 6.1.3.1, Ruby 2.7.2
I tried adding the code for the missing method to my own app's ApplicationHelper but this didn't work.
Here's my config file:
RailsPerformance.setupdo |config|
config.redis=Redis::Namespace.new("#{Rails.env}-rails-performance",redis: Redis.new)config.duration=7.daysconfig.debug=false# currently not used>config.enabled=true# default path where to mount gemconfig.mount_at='/rails/performance'# protect your Performance Dashboard with HTTP BASIC password# config.http_basic_authentication_enabled = false# config.http_basic_authentication_user_name = 'rails_performance'# config.http_basic_authentication_password = 'password12'# if you need an additional rules to check user permissions# config.verify_access_proc = proc { |controller| true }# for example when you have `current_user`config.verify_access_proc=proc{ |controller| controller.current_user&.admin?}# You can ignore endpoints with Rails standard notation controller#action# config.ignored_endpoints = ['HomeController#contact']endifdefined?(RailsPerformance)
Not sure why this isn't working. When I go to /rails/performance I get the above error. App is Rails 6.1.3.1, Ruby 2.7.2
I tried adding the code for the missing method to my own app's ApplicationHelper but this didn't work.
Here's my config file:
And the backtrace for the error:
The text was updated successfully, but these errors were encountered: