Permalink
Browse files

Ruby 1.9 compat: convert Pathname to string

  • Loading branch information...
1 parent b8ff3df commit f6d5ff2f007e5e9ccc106f933b58991602f1d02e @jeremy jeremy committed Sep 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/examples/performance.rb
@@ -25,7 +25,7 @@
/tmp/mysql.sock
/var/mysql/mysql.sock
/var/run/mysqld/mysqld.sock
-]).find { |path| path.socket? }
+]).find { |path| path.socket? }.to_s
ActiveRecord::Base.establish_connection(conn)

0 comments on commit f6d5ff2

Please sign in to comment.