speed up hashify categories two improvements here... * quickly handle the default cases * change old ruby 1.8.6 syntax to better Hash creation. calling flatten on an array with AR objects is very slow.
speed up hashify categories
two improvements here...
* quickly handle the default cases
* change old ruby 1.8.6 syntax to better Hash creation. calling flatten on an array with AR objects is very slow.

instructure/switchman,instructure/switchman