GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: A capistrano/rails plugin that makes it easy to deploy/manage/scale to EC2 (moved from rubyforge)
Homepage: http://github.com/wr0ngway/rubber/wikis
Clone URL: git://github.com/wr0ngway/rubber.git
set rails db connection encoding in sync with mysql default encoding
wr0ngway (author)
Tue Sep 16 10:36:21 -0700 2008
commit  0e636d71f1d5e39c5b906860c3da5cab6b51dcc6
tree    42edf3995d6d749103a7e711b2f63c21d705da9b
parent  b6a3e14c869b5e26726209e29cca6655bd91b195
...
4
5
6
 
7
8
9
...
4
5
6
7
8
9
10
0
@@ -4,6 +4,7 @@
0
 
0
 <%= RAILS_ENV %>:
0
   adapter: mysql
0
+ encoding: utf8
0
   database: <%= rubber_env.db_name %>
0
   username: <%= rubber_env.db_user %>
0
   password: <%= rubber_env.db_pass %>
...
6
7
8
 
9
10
11
...
6
7
8
9
10
11
12
0
@@ -6,6 +6,7 @@
0
 # which then then balances requests between sql nodes in the cluster
0
 <%= RAILS_ENV %>:
0
   adapter: mysql
0
+ encoding: utf8
0
   database: <%= rubber_env.db_name %>
0
   username: <%= rubber_env.db_user %>
0
   password: <%= rubber_env.db_pass %>

Comments

    No one has commented yet.