From: "S. Robert James" Date: 2006-11-13T16:05:04+09:00 Subject: Re: returning keyword Thanks. Wow! That's an example of clever code. The code's less clear, no shorter, and confusing to someone not familiar with this new method - and for what? To be able to show off cool meta programming? I think Rails is great, but someone needs to remind people that "clever code" is an insult. Wilson Bilkovich wrote: > On 11/13/06, S. Robert James wrote: > > What is the "returning" keyword? It's usually used with a block, but I > > can't find what it is. > > > > It's not a keyword; it is a method added by the ActiveSupport library. > More here: http://weblog.jamisbuck.org/2006/10/27/mining-activesupport-object-returning