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

mroderick / codebar-planner
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: feature/chapters-sidebar-v3
DEFAULT BRANCH: master
Repo Added 11 Jul 2025 08:20PM UTC
Token vPb66DExHmn8kKCIdxCr3cvXvGCjXCICV regen
Build 102 Last
Files 176
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

LAST BUILD ON BRANCH fix-member-details-validation-order
branch: fix-member-details-validation-order
CHANGE BRANCH
x
Reset
Sync Branches
  • fix-member-details-validation-order
  • add-docs
  • add-editor-config
  • add-scout-apm
  • add-sitemap-generator
  • add-tests-for-2515
  • attempt-to-fix-issue-template
  • bundle-ignore-junk
  • docs/improve-workflow-documentation
  • feature/chapters-sidebar-v3
  • feature/chapters-sidebar-viewcomponent
  • feature/events-upcoming-past
  • feature/homepage-events-limit
  • feature/seeds-performance-data
  • fix-broken-chosen
  • fix-duplicate-waiting-list-entries
  • fix-error-656-undefined-method-event-for-nil
  • fix-missing-authentication-error-translation
  • fix/cookie-serializer-migration
  • fix/dashboard-eager-loading
  • fix/event-description-xss-vulnerability
  • fix/events-controller-fixes
  • fix/events-sponsors-eager-loading
  • fix/find-by-nil-errors
  • fix/flaky-listable-tests
  • fix/homepage-n-plus-one-eager-loading
  • fix/homepage-performance
  • fix/member-attending-cache
  • fix/render-not-found-json-error
  • freeze-postgres-version
  • imagemagick-check
  • improve-intro-text
  • improve-language
  • improve-og-tags
  • improve-repository-configs
  • increase-delayed-job-max-runtime
  • issue-2367-workshop-feedback
  • issue-2445
  • link-to-chapters-from-pills
  • lock-gem-platforms
  • make-event-rendering-faster
  • no-og-tags-on-admin
  • optimise-images
  • params-expect
  • policy-tests
  • pr/fix-find-by-nil-errors
  • remove-2024-impact-report-banner
  • remove-bootsnap
  • remove-go-squared
  • remove-google-analytics
  • remove-meta-partial
  • remove-puma-cluster-mode-config
  • remove-skylight
  • remove-twitter
  • remove-unused-i18n-features
  • remove-unused-new-relic
  • replace-claude-md-with-agents-md
  • speedup-ci-tests
  • stop-pinning-image-processing
  • stop-using-update-attribute
  • update-year-for-impact-report
  • upgrade-ruby
  • use-playwright
  • use-rails-7-1-defaults
  • workshop-invitation-controller

11 Feb 2026 08:46AM UTC coverage: 95.396%. First build
21898411228

push

github

mroderick
fix(member): optimize validation and fix logic order in details update

Problem:
- member_params was called 6+ times per request (inefficient)
- Validation was checking original params while attrs were modified
- Confusing control flow made code hard to maintain

Solution:
- Call member_params once and reuse the result
- Pass attrs to validation method instead of re-calling member_params
- Validate BEFORE modifying attributes for clearer logic flow

Performance: Reduced member_params calls from 6 to 1 per request

Test: Added test to verify member_params is called only once

8 of 8 new or added lines in 2 files covered. (100.0%)

3232 of 3388 relevant lines covered (95.4%)

44.8 hits per line

Relevant lines Covered
Build:
Build:
3388 RELEVANT LINES 3232 COVERED LINES
44.8 HITS PER LINE
Source Files on fix-member-details-validation-order
  • Tree
  • List 174
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21898411228 fix-member-details-validation-order fix(member): optimize validation and fix logic order in details update Problem: - member_params was called 6+ times per request (inefficient) - Validation was checking original params while attrs were modified - Confusing control flow made code h... push 11 Feb 2026 08:53AM UTC mroderick github
95.4
See All Builds (100)

Badge your Repo: codebar-planner

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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