I have this delicious SQL query here that im trying to figure out how to implement in rails using their active record methods ==> .select() .where() ect...
SELECT
topics.id
FROM topics
WHERE
NOT EXISTS (
SELECT *
FROM votes
WHERE votes.topic_id = topics.id
)