Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ruby 1.9 compat: convert Pathname to string

  • Loading branch information...
commit 761c9cd5db4369d1611bded3439a92cadba2b470 1 parent a159fd0
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/examples/performance.rb
View
2  activerecord/examples/performance.rb
@@ -27,7 +27,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)
Please sign in to comment.
Something went wrong with that request. Please try again.