Permalink
Browse files

i wonder if this explains this

  • Loading branch information...
1 parent 499d6ce commit 16190c36a4736187dcc682da1e9ebebe9612851d @geelen committed Nov 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 postgres.rb
View
@@ -7,7 +7,7 @@
rescue URI::InvalidURIError
raise "Invalid DATABASE_URL"
end
- db_name = uri.path.split("/")[1]
+ db_name.default! uri.path.split("/")[1]
end
dictionary_name.default! 'english_stemmer'

0 comments on commit 16190c3

Please sign in to comment.