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

mysociety / alaveteli / 5690
40%

Build:
DEFAULT BRANCH: develop
Ran 10 Mar 2017 09:39AM UTC
Jobs 4
Files 222
Run time 8min
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
5690

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

8976 of 9650 relevant lines covered (93.02%)

2282.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5690.1 (1.9.3) 10 Mar 2017 09:48AM UTC 0
93.05
Travis Job 5690.1
2 5690.2 (2.0.0) 10 Mar 2017 09:41AM UTC 0
93.05
Travis Job 5690.2
3 5690.3 (2.1.5) 10 Mar 2017 09:39AM UTC 0
93.03
Travis Job 5690.3
4 5690.4 (2.3.0) 10 Mar 2017 09:41AM UTC 0
93.0
Travis Job 5690.4
Source Files on build 5690
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5690
  • e0919ab2 on github
  • Prev Build on develop (#5680)
  • Next Build on develop (#5692)
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