Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Now if only you could change

list.sorting = {:name => 'ASC'} to list.sorting = {:name: 'ASC'}



I'm not familiar with the particular 'sorting' thing you're doing, but if the first things works, then the second should work in 1.9 if you use the correct syntax -- you have an extra colon. It should be: list.sorting = {name: 'ASC'}




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: