Ruby On Rails client code for accessing juggernaut