From: Xavier Noria Date: 2013-04-28T02:23:03+09:00 Subject: Re: Tap method : good or bad practice ? --047d7b86d556c3cb1304db5ae6c8 Content-Type: text/plain; charset=UTF-8 On Sat, Apr 27, 2013 at 12:42 PM, Michel Demazure wrote: I think Rails has a 'returning' method doing just > that. > Yeah, Active Support had "returning" in the past, but was removed in Rails 3 in favor of Object#tap. --047d7b86d556c3cb1304db5ae6c8 Content-Type: text/html; charset=UTF-8
On Sat, Apr 27, 2013 at 12:42 PM, Michel Demazure <lists@ruby-forum.com> wrote:

I think Rails has a 'returning' method doing just
that.

Yeah, Active Support had "returning" in the past, but was removed in Rails 3 in favor of Object#tap.
--047d7b86d556c3cb1304db5ae6c8--