You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make ActiveRecord::QueryLogs default behavior to return the context content
This should cover the vast majority of use cases, e.g.
```ruby
config.active_record.query_log_tags = [:api_client_id]
ActiveRecord::QueryLogs.set_context(api_client_id: api_client.id) do
# ...
end
```
0 commit comments