From: Rob Saul Date: 2008-02-07T13:14:24+09:00 Subject: Re: idiom I've not seen before Jeremy Kemper wrote: > > Sure. &:position == :position.to_proc == proc { |element, *args| > element.position(*args) } > > So elements.sort_by(&:position) is shorthand for sorting the elements > by position. > > jeremy thanks to both Jeremy and Rob for the enlightenment. And yes, it is a Rails project.