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 methoddelete_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.
Thank you for this nice gem, very useful!
I just have a small doubt, Im trying to replicate this https://github.com/statianzo/que-web/blob/d663559b46f0afa9215a1cb8a0e2418197b66342/lib/que/web/sql.rb#L95
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 getundefined 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.