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

Undefined method `payload' for "sql.active_record":String #16

Open
DevelopMan opened this issue Feb 26, 2024 · 2 comments
Open

Undefined method `payload' for "sql.active_record":String #16

DevelopMan opened this issue Feb 26, 2024 · 2 comments

Comments

@DevelopMan
Copy link

DevelopMan commented Feb 26, 2024

My setup:
OS: MacOS Sonoma 14.2.1
Processor: M2
Ruby: ruby 2.7.8p225 (installed with asdf-vm
Rails: Rails 5.2.4.6

We use postgres in our app, however the sqlite3 gem is also installed (sqlite3 1.6.4)

When I try to start my app with:

rails s

I get the error:

Uncaught exception: undefined method `payload' for "sql.active_record":String
	/Users/dzam/.asdf/installs/ruby/2.7.8/lib/ruby/gems/2.7.0/gems/debugbar-0.1.4/lib/debugbar/subscribers/active_record.rb:11:in `sql'
@julienbourdeau
Copy link
Owner

Thank you for the report.

I'll test it with a Rails 5.2 apps but I'm surprised because looking at the Rails source code, event have been an object for a long time. At least, 2013 from what I've seen. I'd be surprise if it depends on the db driver.

@DevelopMan
Copy link
Author

@julienbourdeau Let me know if you need something else. I also could help you if you tell me the direction where to dig in. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants