public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/josh/rails.git
Less spacing

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2925 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Mon Nov 07 10:07:05 -0800 2005
commit  63e30a5cae7140742059804998371f4e0596f549
tree    c3f3632448132472e585eb1c160b65588429a798
parent  e55426a798f6cd80f5a0f9a5937b90cc20341b72
...
1
2
3
4
5
 
6
7
8
...
14
15
16
17
18
 
19
20
21
 
22
23
24
...
28
29
30
31
 
32
33
34
35
36
37
38
 
39
40
41
...
 
 
 
 
 
1
2
3
4
...
10
11
12
 
 
13
14
15
 
16
17
18
19
...
23
24
25
 
26
27
28
29
30
31
32
 
33
34
35
36
0
@@ -1,8 +1,4 @@
0
-# Set up database connections for each environment.
0
-# By default, development, test, and production connect to local MySQL.
0
-# Example configurations for PostgreSQL and SQLite are at the end.
0
-
0
-# MySQL. Versions 4.1 and 5.0 are recommended.
0
+# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
0
 #
0
 # Get the fast C bindings:
0
 # gem install mysql
0
@@ -14,11 +10,10 @@ development:
0
   database: <%= app_name %>_development
0
   username: root
0
   password:
0
-
0
- <%= "socket: #{socket}" if socket %>
0
+<%= " socket: #{socket}" if socket -%>
0
 
0
   # Connect on a TCP socket. If omitted, the adapter will connect on the
0
- # domain socket given by the socket parameter instead.
0
+ # domain socket given by socket instead.
0
   #host: localhost
0
   #port: 3306
0
   
0
@@ -28,14 +23,14 @@ development:
0
 test:
0
   adapter: mysql
0
   database: <%= app_name %>_test
0
- <%= "socket: #{socket}" if socket %>
0
+<%= " socket: #{socket}" if socket -%>
0
   username: root
0
   password:
0
 
0
 production:
0
   adapter: mysql
0
   database: <%= app_name %>_production
0
- <%= "socket: #{socket}" if socket %>
0
+<%= " socket: #{socket}" if socket -%>
0
   username: root
0
   password:
0
 

Comments

    No one has commented yet.