Realtime Rails API utilizing Redis, PubNub, and PostgreSQL