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

codeforamerica / ohana-api / 561
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: mb-update-factory-bot
DEFAULT BRANCH: master
Ran 04 Sep 2014 05:27AM UTC
Jobs 1
Files 64
Run time 28s
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

pending completion
561

push

travis-ci

monfresh
Highlight fields with errors & update validations.

Closes #188.

Rails automatically surrounds a field that failed to pass validations
with a div that has a class called `field_with_errors`. For some
reason, this doesn’t get added to serialized fields, so I had to write
custom methods in `form_helper.rb`.

I also updated the HTML for some of the fields so that the highlighted
field would retain the same appearance as the regular field.

While working on this, I realized some of the model validations could
be refactored and simplified.

19 of 19 new or added lines in 7 files covered. (100.0%)

918 of 924 relevant lines covered (99.35%)

57.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 561.1 (2.1.1) 04 Sep 2014 05:27AM UTC 0
99.35
Travis Job 561.1
Source Files on build 561
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #561
  • d76d1663 on github
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