Hi.my problem is Mongo::ConnectionFailure: Failed to connect to a master node at 127.0.0.1:27017 when im pushing on heroku
im using mongomapper
defaults: &defaults host: 127.0.0.1 port: 27017 options: w: 1 pool_size: 1 slave_ok: false ssl: false
development: <<: *defaults database: devname
test: <<: *defaults database: testname w: 0
production: <<: *defaults
database: devname
MongoMapper.connection = Mongo::Connection.new(‘localhost’, 27017)
MongoMapper.database = “appname-#{Rails.env}”