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

Meta per request #221

Closed
dixpac opened this issue Jan 12, 2023 · 1 comment
Closed

Meta per request #221

dixpac opened this issue Jan 12, 2023 · 1 comment

Comments

@dixpac
Copy link

dixpac commented Jan 12, 2023

Hey!

Would it be possible to setup meta per request, instead of wapping every action in the block like this

Logidze.with_meta({ip: request.ip}) do
  post.save!
end

Main use-case is that I want to insert meta such as (ip, agent) with every event.

@dixpac
Copy link
Author

dixpac commented Jan 12, 2023

Oops found it here #202 ...closing

@dixpac dixpac closed this as completed Jan 12, 2023
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

1 participant