4 ms·
Correct me if I am wrong, but can't the Sequel ORM accomplish this as well? Post.join(:author).where(:author__name => "John") (the above is purely from me
by cyberferret 10y ago
Correct me if I am wrong, but can't the Sequel ORM accomplish this as well?
Post.join(:author).where(:author__name => "John")
(the above is purely from memory and may have syntax errors).
In any case, it lets you drop into raw SQL as a last resort.
- cortesoft 10y agoYes, you are correct.