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

Question: How do you make this work? #89

Open
ssoulless opened this issue Nov 19, 2021 · 0 comments
Open

Question: How do you make this work? #89

ssoulless opened this issue Nov 19, 2021 · 0 comments

Comments

@ssoulless
Copy link

Thank you for this nice gem, very useful!

I just have a small doubt, Im trying to replicate this

delete_job: delete_jobs_query(lock_job_sql),

Mapping a function inside a hash so SQL[:delete_job] calls the method, when I try to use a function inside a hash in plain ruby I get undefined method delete_jobs_query'` error...

Now sure how are you making this work, any explanation?

Thank you!

PD: I think this is a StackOverflow question but did not find a relevant tag for this gem so better to ask directly.

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