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

mysociety / alaveteli / 5690 / 4
40%
develop: 40%

Build:
DEFAULT BRANCH: develop
Ran 10 Mar 2017 09:41AM UTC
Files 222
Run time 11s
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

08 Mar 2017 02:55PM UTC coverage: 93.004% (-0.02%) from 93.025%
2.3.0

push

travis-ci

garethrees
Remove Rails 3 code

The "Rails 3" version doesn't actually produce deprecation warnings, but
`find_by()` seems to be the preferred Rails 4 style. The SQL is exactly
the same:

    request = InfoRequest.find_by_id('1016'.to_i)
    InfoRequest Load (1.4ms) SELECT "info_requests".* FROM "info_requests" WHERE
    "info_requests"."id" = 1016 LIMIT 1
    # => nil

    request = InfoRequest.find_by(id: '1016'.to_i)
    InfoRequest Load (0.9ms)  SELECT "info_requests".* FROM "info_requests" WHERE
    "info_requests"."id" = 1016 LIMIT 1
    # => nil

8814 of 9477 relevant lines covered (93.0%)

581.59 hits per line

Source Files on job 5690.4 (2.3.0)
  • Tree
  • List 0
  • Changed 24
  • Source Changed 1
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5690
  • Travis Job 5690.4
  • e0919ab2 on github
  • Prev Job for 2.3.0 on develop (#5680.4)
  • Next Job for 2.3.0 on develop (#5692.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc