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

gregschmit / rails-rest-framework / 30382952146
95%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2026 05:29PM 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

28 Jul 2026 05:27PM UTC coverage: 91.975% (-0.03%) from 92.009%
30382952146

push

github

gregschmit
Reject nested-hash filter params; document associations_limit_max.

Filter backends now guard against query params whose values are nested
hashes (e.g. `?field[evil]=x`, which Rack parses into a
HashWithIndifferentAccess). Previously these flowed into AR bind values
and raised `TypeError (can't quote ...)`, or broke `String#split` /
`sanitize_sql_like`. Adds a `_safe_query_value?` helper on BaseFilter,
applied in QueryFilter and OrderingFilter, and a String check in
SearchFilter. Includes regression tests for each backend.

Also documents `native_serializer_associations_limit_max` in the
serializers and performance guides: default `5` cap, clamp-to-max
semantics, and how to raise the ceiling or disable the query param.

7 of 7 new or added lines in 4 files covered. (100.0%)

42 existing lines in 4 files now uncovered.

1192 of 1296 relevant lines covered (91.98%)

316.5 hits per line

Coverage Regressions

Lines Coverage ∆ File
27
85.63
0.0% lib/rest_framework/controller.rb
13
90.68
-0.06% lib/rest_framework/serializers/native_serializer.rb
1
86.36
-4.11% lib/rest_framework/filters/search_filter.rb
1
88.89
0.65% lib/rest_framework/version.rb
Jobs
ID Job ID Ran Files Coverage
1 30382952146.1 28 Jul 2026 05:29PM UTC 48
91.35
GitHub Action Run
Source Files on build 30382952146
  • Tree
  • List 24
  • Changed 16
  • Source Changed 7
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30382952146
  • 9541c83d on github
  • Prev Build on master (#24811385175)
  • Next Build on master (#30385528957)
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