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

take-five / activerecord-hierarchical_query / 70
94%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2016 12:21PM UTC
Jobs 15
Files 11
Run time 3min
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
70

push

travis-ci

take-five
Fix usage of bind variables inside generated query

Prior to this commit, relation was joined to generated subquery,
converted to String with `#to_sql` method, which lead to situations,
when it was impossible to use generated query as another subquery:
```
organizations = Organization.join_recursive do |query|
  query.start_with(id: current_user.organization.id).connect_by(parent_organization_id: :id)
end

licenses = License.where(organization_id: organizations, license_app_id: license_app.id)
```

Fixes #3

390 of 390 relevant lines covered (100.0%)

220.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 70.1 (2.0.0, gemfiles/rails3.1.gemfile) 18 Aug 2016 12:21PM UTC 0
96.92
Travis Job 70.1
2 70.2 (2.0.0, gemfiles/rails3.2.gemfile) 18 Aug 2016 12:22PM UTC 0
96.92
Travis Job 70.2
3 70.3 (2.0.0, gemfiles/rails4.0.gemfile) 18 Aug 2016 12:21PM UTC 0
96.92
Travis Job 70.3
4 70.4 (2.0.0, gemfiles/rails4.1.gemfile) 18 Aug 2016 12:21PM UTC 0
96.92
Travis Job 70.4
5 70.5 (2.0.0, gemfiles/rails4.2.gemfile) 18 Aug 2016 12:22PM UTC 0
98.21
Travis Job 70.5
6 70.6 (2.1.2, gemfiles/rails3.1.gemfile) 18 Aug 2016 12:23PM UTC 0
96.92
Travis Job 70.6
7 70.7 (2.1.2, gemfiles/rails3.2.gemfile) 18 Aug 2016 12:23PM UTC 0
96.92
Travis Job 70.7
8 70.8 (2.1.2, gemfiles/rails4.0.gemfile) 18 Aug 2016 12:23PM UTC 0
96.92
Travis Job 70.8
9 70.9 (2.1.2, gemfiles/rails4.1.gemfile) 18 Aug 2016 12:23PM UTC 0
96.92
Travis Job 70.9
10 70.10 (2.1.2, gemfiles/rails4.2.gemfile) 18 Aug 2016 12:23PM UTC 0
98.21
Travis Job 70.10
11 70.11 (2.2, gemfiles/rails3.1.gemfile) 18 Aug 2016 12:25PM UTC 0
96.92
Travis Job 70.11
12 70.12 (2.2, gemfiles/rails3.2.gemfile) 18 Aug 2016 12:25PM UTC 0
96.92
Travis Job 70.12
13 70.13 (2.2, gemfiles/rails4.0.gemfile) 18 Aug 2016 12:25PM UTC 0
96.92
Travis Job 70.13
14 70.14 (2.2, gemfiles/rails4.1.gemfile) 18 Aug 2016 12:25PM UTC 0
96.92
Travis Job 70.14
15 70.15 (2.2, gemfiles/rails4.2.gemfile) 18 Aug 2016 12:25PM UTC 0
98.21
Travis Job 70.15
Source Files on build 70
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #70
  • 764f25c2 on github
  • Prev Build on master (#69)
  • Next Build on master (#71)
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