public
Rubygem
Description: DataMapper - Core
Homepage: http://datamapper.org
Clone URL: git://github.com/sam/dm-core.git
Search Repo:
Fixed the example URIs in lib/data_mapper.rb's comment block
joe (author)
Fri May 16 13:36:51 -0700 2008
commit  aec2bdbcd1bf40aaac6d8ad41167f848463386e7
tree    e931f5b76dc1f48768a993a001bfdb9037deb530
parent  3d99f6fb3c01efeacf9af256ea76bc72ac4a15bf
...
52
53
54
55
 
56
57
58
...
71
72
73
74
 
75
76
77
...
52
53
54
 
55
56
57
58
...
71
72
73
 
74
75
76
77
0
@@ -52,7 +52,7 @@ require dir / 'collection'
0
 # == Setup and Configuration
0
 # DataMapper uses URIs or a connection hash to connect to your data-store.
0
 # URI connections takes the form of:
0
-# DataMapper.setup(:default, 'protocol://username@localhost:password/path/to/repo')
0
+# DataMapper.setup(:default, 'protocol://username:password@localhost:port/path/to/repo')
0
 #
0
 # Breaking this down, the first argument is the name you wish to give this
0
 # connection. If you do not specify one, it will be assigned :default. If you
0
@@ -71,7 +71,7 @@ require dir / 'collection'
0
 # DataMapper.setup(:default, "sqlite3://path/to/your/project/db/development.db")
0
 # DataMapper.setup(:default, "mysql://localhost/dm_core_test")
0
 # # no auth-info
0
-# DataMapper.setup(:default, "postgres://root@127.0.0.1:supahsekret/dm_core_test")
0
+# DataMapper.setup(:default, "postgres://root:supahsekret@127.0.0.1/dm_core_test")
0
 # # with auth-info
0
 #
0
 #

Comments

    No one has commented yet.