Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If Rails is not defined, check ENV["RAILS_ENV"] and ENV["RACK_ENV"]. | Keith Gable | 2014-10-21 | 1 | -0/+89 |
| | | | | | | | This fixes a regression introduced by 6cc03675d30b58e28f585720dad14e947a57ff5b. ActiveRecord, if used without Rails, always checks the "default_env" environment. This would be OK, except that Sinatra also supports environments, and it runs with {RACK|RAILS}_ENV=production. This patch adds a fallback to RAILS_ENV and RACK_ENV (and ultimately default_env) if Rails.env doesn't exist. | ||||
* | Parsing DATABASE_URI, use URI#hostname: it's smarter about IPv6 | Matthew Draper | 2014-06-14 | 1 | -0/+12 |
| | | | | Fixes #15705. | ||||
* | Rearrange deck chairs on the titanic. Organize connection handling test cases. | Jeremy Kemper | 2014-04-21 | 1 | -0/+192 |