Skip to content

Commit

Permalink
Ruby 1.9 compat: convert Pathname to string
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Sep 10, 2010
1 parent a159fd0 commit 761c9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/examples/performance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 761c9cd

Please sign in to comment.