Skip to content

uninitialized constant Benchmark with Rails 8.1.0 #42

@trak3r

Description

@trak3r
/Users/ted/.rvm/gems/ruby-3.4.1/gems/query_diet-0.7.2/lib/query_diet/logger.rb:17:in 'QueryDiet::Logger.log': uninitialized constant #<Class:QueryDiet::Logger>::Benchmark (NameError)

          time = Benchmark.realtime do
                 ^^^^^^^^^
	from /Users/ted/.rvm/gems/ruby-3.4.1/gems/query_diet-0.7.2/lib/query_diet/active_record_ext.rb:5:in 'QueryDiet::ActiveRecordExt#log'
	from /Users/ted/.rvm/gems/ruby-3.4.1/gems/activerecord-8.1.0/lib/active_record/connection_adapters/abstract/database_statements.rb:569:in 'ActiveRecord::ConnectionAdapters::DatabaseStatements#raw_execute'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions