Closed Justman100 closed 2 months ago
@nateberkopec @kbrock @SamSaffron
this is a little confusing. profile_method uses
I don't remember profiling redis methods. Also, thought alias_method was from core ruby's Module, so I'm not sure how this isn't foundalias_method
@Justman100 could you include a little more of the stack trace? Did you call profile_method
directly or was it called by another rack-mini-profiler method?
thanks
~this is a little confusing. profile_method uses
alias_method
~ I don't remember profiling redis methods. Also, thought alias_method was from core ruby's Module, so I'm not sure how this isn't found@Justman100 could you include a little more of the stack trace? Did you call
profile_method
directly or was it called by another rack-mini-profiler method?thanks
rack-mini-profiler calles the methode
One of the files, wich called the methode: .../vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.3.1/lib/mini_profiler/profiling_methods.rb
@kbrock
@Justman100 Thought that was the case. Still unsure where in your code that is called from.
Are you calling counter_method
directly or via your own meta-programming?
Are you calling this inside the class, possible that the corresponding method has not been defined yet?
Maybe in this file: config/initializers/006-mini_profiler.rb:98
? Discourse used this...
The error is the call
method is not defined. Which is correct as it was dropped in 5.0 of the redis client. This is an issue with discourse.
I put in more info and a fix over there:
@Justman100 Can you provide the steps necessary to reproduce this error. Just providing a single line in a foreign project is not enough for others to debug the issue.
The nightly build of discourse is working fine. I tried making my proposed change but for some reason, that is failing.
I feel the discourse team would be better debugging their own application. Please close this issue and move the discussion over there.
Hi, have this: