Comments (3)
Issue is fixed in 2.3.2
Thank you for jumping on this so quickly!
from lograge-sql.
Thank you for reporting this @leifg, I'm sorry about that!
This seems to be an issue with initialisation. Although ActiveRecord::RuntimeRegistry.sql_runtime
has been available since Rails 5, it seems like it wasn't correctly initialised until this fix was released in Rails 7.1, so using an older version of Rails will incur in this issue.
This is annoying but I guess the only thing we can do to support both Rails 7.2+ and older is do the initialisation ourselves 😢 . I'll fix this now
from lograge-sql.
@leifg this is on it's way to Rubygems as release 2.3.2, I'd appreciate if you could give it a try when you get a chance and let me know if it fixes the issue for you 🙏
from lograge-sql.
Related Issues (16)
- Rails 5 support
- NoMethodError: undefined method `extract_event' for Lograge::Sql:Module HOT 10
- Lograge v0.11.0 support
- Prevent Default ActiveRecord Logging From Being Disabled HOT 3
- SQL logs appear even in :info level? HOT 5
- Why isn't SQL no longer displaying? HOT 3
- lograge-sql.gemspec locks rails version to < 6, but 6 has been released HOT 2
- New release for Rails 6 support? HOT 2
- queries executed in rails initializers and queries executed outside of request scope HOT 2
- uninitialized constant Lograge::ActiveRecordLogSubscriber (NameError) HOT 4
- Query Runtime is Summed Twice HOT 2
- Option to separate SQL logs from request log lines HOT 2
- Sql Query are not logged and getting an exception HOT 2
- Filtering out sensitive info in SQL logs HOT 3
- Rails 7.1 deprecation warnings HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lograge-sql.