In the following ruby example, what does the & represent? Is it along the line of += in a loop?
payments.sum(&:price)
&:price is shorthand for "use the #price method on every member of the collection".
Unary "&", when passed as an argument into a method tells Ruby "take this and turn it into a Proc". The #to_proc method on a symbol will #send that symbol to the receiving object, which invokes the corresponding method by that name.