Skip to content

Question: How do you make this work? #89

@ssoulless

Description

@ssoulless

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions