Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Yes, you are correct.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: