Re: [Rails-core] [Feature] Symbol to_proc coercions: Enumerable#map can take several symbols

2018-05-18 Thread Alberto Almagro
Hi Abdel, sorry for the confusion, I guess I didn't explain myself properly. `orders` would be a collection composed by instances of Order model. For example, imagine you do `Order.last(5)` to get the last 5 orders. I hope this clarifies the example. Cheers, Alberto 2018-05-16 18:50 GMT+02:00 Ab

Re: [Rails-core] [Feature] Symbol to_proc coercions: Enumerable#map can take several symbols

2018-05-18 Thread Alberto Almagro
Hi Matt, thanks a lot for all your points and suggestions. Having thought about naming, I'm also starting to think that picking a new name would be better. At least it would have the same mental effect as when you compare `dig` vs `[ ]` methods, `dig` predisposes you to think on nested access. C