Skip to content
This repository
Browse code

Ruby 1.9 compat: convert Pathname to string

  • Loading branch information...
commit 761c9cd5db4369d1611bded3439a92cadba2b470 1 parent a159fd0
Jeremy Kemper jeremy authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  activerecord/examples/performance.rb
2  activerecord/examples/performance.rb
@@ -27,7 +27,7 @@
27 27 /tmp/mysql.sock
28 28 /var/mysql/mysql.sock
29 29 /var/run/mysqld/mysqld.sock
30   -]).find { |path| path.socket? }
  30 +]).find { |path| path.socket? }.to_s
31 31
32 32 ActiveRecord::Base.establish_connection(conn)
33 33

0 comments on commit 761c9cd

Please sign in to comment.
Something went wrong with that request. Please try again.