This project is archived and is in readonly mode.

#3280 ✓committed
Matías Flores

[PATCH] Prefer tap over returning in ActionMailer

Reported by Matías Flores | September 27th, 2009 @ 08:29 PM

ActiveSupport's returning function has been replaced by object#tap whenever was possible.

I've attached a patch to start using tap in the only place in ActionMailer where returning was still being used.

This patch is valid for both master and 2-3-stable.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages