knirirr (Milo Thurston)
- Login: knirirr
- Email: knirirr@gmail.com
- Registered on: 03/22/2011
- Last sign in: 03/22/2011
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
03/22/2011
-
08:14 PM Ruby Bug #4517 (Third Party's Issue): ArgumentError when sorting array of objects
- =begin
I've got some Rails (v. 3.0.4) code wherein an array of objects (referred to as 'Thing' here) need to be sorted:
stuff = array of Things
stuff.sort! {|a,b| a.value <=> b.value }
…where value is a String.
On Ruby 1.9.2p13...