Greetings and happy summer!
I'd like to call a method within a query block thus:
def age_method
42
end
Artist.where{age > age_method}
But I'm getting a PG::UndefinedColumn error
What is the preferred approach?
Loving Sequel more than ever!
Thanks,
John
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sequel-talk/80e3098c-c233-4586-bc37-6c2e55fdd13fn%40googlegroups.com.