Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

Rails mongoid connection to remote cluster

Rails • Asked by sommer bareen

I am trying to make a rails 4 application with mongodb (skipping active record). I created a cluster on, which has three hosts. The cluster is accessible in the Mongo Shell, how can I access it in rails mongoid.yml.

mongodb://sommer:[email protected]:27017,,

this is where i created the cluster and it is public.

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 31,575+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.