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

AyuntamientoMadrid / consul / 8302 / 1
54%
master: 51%

Build:
Build:
LAST BUILD BRANCH: stable
DEFAULT BRANCH: master
Ran 22 Jan 2018 11:49PM UTC
Files 388
Run time 32s
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

22 Jan 2018 11:22PM UTC coverage: 77.1% (-0.2%) from 77.318%
2.3.2, KNAPSACK_PRO_CI_NODE_INDEX=0

push

travis-ci

bertocq
Return 404 accesing community without communitable

Why:

Somehow we're seeing communities without proposals at production. We
must find why and fix it, but first we need to throw a 404 at the user
instead of a 500 internal server error

How:

First catching the scenario of non-existent communitable at the
controller and raising a 404 error. Secondly preventing the author_id
access over a possibly nil object, this is a smell but it can't be
easily fixed right now... we need to correctly implement a relation
between Community and communitable and avoid the multiple occurences of
`community.from_proposal?` in the codebase that makes it impossible to
extend to a fourth communitable model.

7545 of 9786 relevant lines covered (77.1%)

185.84 hits per line

Source Files on job 8302.1 (2.3.2, KNAPSACK_PRO_CI_NODE_INDEX=0)
  • Tree
  • List 0
  • Changed 88
  • Source Changed 2
  • Coverage Changed 88
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8302
  • Travis Job 8302.1
  • a976d9c2 on github
  • Prev Job for 2.3.2, KNAPSACK_PRO_CI_NODE_INDEX=0 on stable (#8241.1)
  • Next Job for 2.3.2, KNAPSACK_PRO_CI_NODE_INDEX=0 on stable (#8306.1)
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