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

flyerhzm / bullet / 308
0%

Build:
DEFAULT BRANCH: master
Ran 12 Mar 2015 07:43PM UTC
Jobs 13
Files 65
Run time 6min
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
308

Pull #213

travis-ci

anthuswilliams
don't execute query when running to_sql

in AR 4.1 and 4.2, to_sql calls find_with_associations
to attach relevant joins so that the produced SQL matches
the sql actually used when running the query. Bullet's
monkey-patch of find_with_associations calls the original
without a block so it actually passes the query to
the DB connection and runs it.

This commit simply branches the monkey-patch on
block_given? to make it consistent with AR's
definition of the same method. To wit, when
find_with_associations is called by a block, it
yields a new relation with the correct associations
joined and doesn't pass the query on to the DB.
Pull Request #213: don't execute query when running to_sql

1913 of 1925 relevant lines covered (99.38%)

63.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 308.1 (2.1.2, DB=sqlite, Gemfile.rails-4.2) 12 Mar 2015 07:48PM UTC 0
69.36
Travis Job 308.1
2 308.2 (2.1.2, DB=sqlite, Gemfile.rails-4.1) 12 Mar 2015 07:44PM UTC 0
69.36
Travis Job 308.2
3 308.3 (2.1.2, DB=sqlite, Gemfile.rails-4.0) 12 Mar 2015 07:43PM UTC 0
69.36
Travis Job 308.3
4 308.4 (2.1.2, DB=sqlite, Gemfile.rails-3.2) 12 Mar 2015 07:43PM UTC 0
68.39
Travis Job 308.4
5 308.5 (2.1.2, DB=sqlite, Gemfile.rails-3.1) 12 Mar 2015 07:45PM UTC 0
3.21
Travis Job 308.5
6 308.6 (2.1.2, DB=sqlite, Gemfile.rails-3.0) 12 Mar 2015 07:46PM UTC 0
68.39
Travis Job 308.6
7 308.7 (2.1.2, DB=sqlite, Gemfile.mongoid-3.1) 12 Mar 2015 07:46PM UTC 0
55.01
Travis Job 308.7
8 308.8 (2.1.2, DB=sqlite, Gemfile.mongoid-3.0) 12 Mar 2015 07:46PM UTC 0
54.7
Travis Job 308.8
9 308.9 (2.1.2, DB=sqlite, Gemfile.mongoid-2.8) 12 Mar 2015 07:48PM UTC 0
54.96
Travis Job 308.9
10 308.10 (2.1.2, DB=sqlite, Gemfile.mongoid-2.7) 12 Mar 2015 07:47PM UTC 0
54.96
Travis Job 308.10
11 308.11 (2.1.2, DB=sqlite, Gemfile.mongoid-2.6) 12 Mar 2015 07:48PM UTC 0
54.96
Travis Job 308.11
12 308.12 (2.1.2, DB=sqlite, Gemfile.mongoid-2.5) 12 Mar 2015 07:50PM UTC 0
54.96
Travis Job 308.12
13 308.13 (2.1.2, DB=sqlite, Gemfile.mongoid-2.4) 12 Mar 2015 07:50PM UTC 0
54.96
Travis Job 308.13
Source Files on build 308
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #308
  • Pull Request #213
  • PR Base - master (#302)
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