• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

swanson / stringer / 664 / 2
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/nokogiri-1.11.4
DEFAULT BRANCH: master
Ran 30 Jan 2016 01:21PM UTC
Files 127
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Jan 2016 01:20PM UTC coverage: 97.295% (+54.7%) from 42.623%
2.1

push

travis-ci

Koronen
Update config/database.yml to use DATABASE_URL in production

The previous configuration would result in the following type of error on
Heroku.

    app[web.1]: /.../connection_adapters/postgresql_adapter.rb:888:in
      `initialize': could not connect to server: No such file or directory (PG::ConnectionBad)
    app[web.1]:    Is the server running locally and accepting
    app[web.1]:    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

From
<https://github.com/rails/rails/blob/4-1-stable/activerecord/CHANGELOG.md#rails-410-april-8-2014>:

> Currently Active Record can be configured via the environment variable
> `DATABASE_URL` or by manually injecting a hash of values which is what Rails
> does, reading in `database.yml` and setting Active Record appropriately.
> Active Record expects to be able to use `DATABASE_URL` without the use of
> Rails, and we cannot rip out this functionality without deprecating.

The `DATABASE_URL` environment variable should contain all the settings now
removed from `config/database.yml`.

2230 of 2292 relevant lines covered (97.29%)

3.76 hits per line

Source Files on job 664.2 (2.1)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 664
  • Travis Job 664.2
  • 9ff9d5aa on github
  • Prev Job for 2.1 on update-vulnerable-gems (#661.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc