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

[ActiveRecord] Same queries origin with verbose_query_logs enabled #32719

Closed
kevynlebouille opened this issue Apr 25, 2018 · 3 comments
Closed

Comments

@kevynlebouille
Copy link

Steps to reproduce

Fresh rails new app with active storage enabled and used for an avatar in a User model.

Expected behavior

Every queries from active storage should be logged with their own engine's path origin.

Actual behavior

Every queries from active storage are logged with the same origin :
[....]/lib/active_record/log_subscriber.rb:98

Same problem with Devise engine's queries

System configuration

Rails version: 5.2.0

Ruby version: 2.5.1 (rbenv)

@olivierlacan

@williamromero
Copy link

Someone have any information about this problem? I got it first time after i delete my DB. I don't know what is happening here.

@olivierlacan
Copy link
Contributor

@kevynlebouille Can you give me more info about the context in which your app is running? Docker? rbenv/RVM/chruby? Do you mind sharing your Gemfile or a sample application with a similar Gemfile that reproduces this issue?

@rails-bot
Copy link

rails-bot bot commented Oct 21, 2018

This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails team are limited, and so we are asking for your help.
If you can still reproduce this error on the 5-2-stable branch or on master, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions.

@rails-bot rails-bot bot added the stale label Oct 21, 2018
@rails-bot rails-bot bot closed this as completed Oct 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants