Closed lfittl closed 8 years ago
@JonathanTron Sorry to bug you directly, but: any feedback on this one?
Would be great to see full url
/DATABASE_URL
support when using Sequel+Rails :)
Hi @lfittl, thanks for the PR and sorry for the delayed response.
It is indeed not handled properly in the current code and you PR fix this.
I'm not fan of using try
, but this is only nitpicking that I can update after merging.
Thanks a lot for your work.
@JonathanTron Yay, thanks for merging - happy that I don't have to keep a fork around :-)
@lfittl You're welcome.
Right now this works fine for all Sequel connections, but breaks for all rake tasks since the URL isn't parsed. This ends up being a deal breaker when using
sequel-rails
with aconfig/database.yml
that looks like this:This adds support to the Storage helpers, which fixes the rake tasks.