On Jul 15, 2010, at 4:29 PM, Marnen Laibow-Koser wrote:
Rob Biedenharn wrote:
On Jul 15, 2010, at 3:51 PM, Marnen Laibow-Koser wrote:
It currently sorts my categories as below:
I'm aware of that. That's why I suggested in_groups *and zip*,
which
will do exactly what the OP wanted.
Please don't only read half of my solution and claim I'm wrong
because
you missed the rest.
It would be so much less confusing if you would answer in actual
*code* rather than just spewing documentation.
I told the OP which methods would do the job for him. I didn't "spew
documentation" as I understand that phrase. I didn't write code,
either, because I generally don't like to do that for others on the
list
(as I do not expect others to do it for me), unless the solution is
fairly complex and/or unintuitive. In this case, I don't really think
it was.
-Rob
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
Your response was quoting a bit of code to which you said "Why go to
all that trouble?" and then mentioned two methods. I think it would
have been better to demonstrate how those two methods would avoid the
"trouble" than to have simply tossed them out.
-Rob
Rob Biedenharn
[email protected] http://AgileConsultingLLC.com/
[email protected] http://GaslightSoftware.com/
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.