You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,12 @@ For rails 3.0.x latest version 0.2.8.
58
58
host: localhost
59
59
port: 27017
60
60
replica_set: true
61
-
61
+
62
+
Also you can use "url" parameter for setup connection to mongodb:
63
+
64
+
development:
65
+
url: mongodb://localhost:27017/my_app
66
+
capsize: <%= 10.megabytes %>
62
67
63
68
64
69
1. For using with MongoDB Replica Set (more info you can read by this link [http://www.mongodb.org/display/DOCS/Replica+Sets](http://www.mongodb.org/display/DOCS/Replica+Sets)). In config set list of [host, port] in key "hosts":
0 commit comments