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

codebar / planner / 27894728429
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: feature/magic-link-auth
DEFAULT BRANCH: master
Ran 21 Jun 2026 05:32AM UTC
Jobs 1
Files 188
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

21 Jun 2026 05:29AM UTC coverage: 95.333% (-0.002%) from 95.335%
27894728429

Pull #2658

github

mroderick
Move mailer dispatch from FeedbackRequest callback to rake task caller

FeedbackRequest had an after_create callback that dispatched
FeedbackRequestMailer.request_feedback synchronously. This meant
every record creation — from the rake task, the console, or a
migration — sent an email as an invisible side-effect.

The responsibility for dispatching the mailer belongs to the
orchestrator (the rake task), not the domain model. The model
should create the record; the caller decides what happens next.

Changes:
- Remove after_create :email callback and email method from
  app/models/feedback_request.rb
- Inline mailer dispatch in lib/tasks/feedback.rake, replacing
  the unused `map` with `each`
- Remove model spec for callback-driven email sending
- Update rake spec to verify both record creation and mailer
  dispatch with correct arguments

Tests: 1040 examples, 0 failures
Pull Request #2658: Move mailer dispatch from FeedbackRequest callback to rake task caller

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

3554 of 3728 relevant lines covered (95.33%)

42.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27894728429.1 21 Jun 2026 05:32AM UTC 1128
70.07
GitHub Action Run
Source Files on build 27894728429
  • Tree
  • List 188
  • Changed 121
  • Source Changed 2
  • Coverage Changed 121
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27894728429
  • Pull Request #2658
  • PR Base - master (#27893414407)
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