Displaying 2 results from an estimated 2 matches for "sortedlist".
2006 Jul 20
3
sort_by with via a parent models child
I am having a problem with ruby''s sort_by function.  I want to sort a 
list of parent model objects based on the children of the parent models.
Normally you might say sortedList = modelList.sort_by { |model| 
model[''someAttribute''] }
What I am tring to do is
sortedList = modelList.sort_by{ |model| model.children.find(:first, 
order=>"price desc"  ).price}
This doesn''t seem to have an effect on the list returned.  Does anyone 
here...
2009 Jan 16
2
regshell only goes to HKEY_CLASSES_ROOT
...rror getting security descriptor
I can also see the keys under HKEY_CLASSES_ROOT
HKEY_CLASSES_ROOT> list
<snip>
K System.Collections.CaseInsensitiveComparer
K System.Collections.CaseInsensitiveHashCodeProvider
K System.Collections.Hashtable
K System.Collections.Queue
K System.Collections.SortedList
K System.Collections.Stack
K System.ContextMarshalException
<snip>
Problem is when I want to go to another key, in this case I want to read, as
I said before,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
HKEY_CLASSES_ROOT> predef
HKEY_LOCAL_MACHINE
HKEY_CLASSES_...