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

gregschmit / rails-rest-framework / 31645135564
96%

Build:
DEFAULT BRANCH: master
Ran 12 Aug 2026 10:02PM UTC
Jobs 1
Files 24
Run time 1min
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

12 Aug 2026 10:01PM UTC coverage: 95.538% (+0.09%) from 95.451%
31645135564

push

github

gregschmit
Improve polymorphic filtering and serialization.

Polymorphic belongs_to associations can't be JOINed, but their backing
*_id/*_type columns live on the base table, so expose them for filtering
and ordering through the dotted `favorite.id`/`favorite.type` paths
(mapping to `favorite_id`/`favorite_type`). A custom filter_fields or
ordering_fields allowlist still gates which paths are reachable.

Polymorphic serialization now honors the association's configured
`fields`: each is resolved against the actual target and included when
it responds, so a field present on only one target (e.g. `price` on
Movie, not Genre) is serialized there and omitted elsewhere. The id,
type, and label are still always emitted.

31 of 31 new or added lines in 6 files covered. (100.0%)

1413 of 1479 relevant lines covered (95.54%)

358.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31645135564.1 12 Aug 2026 10:02PM UTC 24
95.54
GitHub Action Run
Source Files on build 31645135564
  • Tree
  • List 24
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31645135564
  • 93cc2b7b on github
  • Prev Build on master (#31642492114)
  • Next Build on master (#31654971233)
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