search for: general2

Displaying 2 results from an estimated 2 matches for "general2".

Did you mean: general
2009 Apr 12
4
Can't get an Array function to be visible inside ApplicationHelper
...lication layout that will return me a hash of the roles for the user currently signed in. Here is the simplified code I have in ApplicationHelper module class Array def to_h Hash[*enum_with_index.to_a.flatten] end end def get_cur_user_roles ["school_admin", "General2"].to_h end I call get_cur_user_roles from my layout file. When I bring up the web page I get an error that says undefined method `to_h'' for ["school_admin", "General2"]:Array However, if I capture the same code in a test.rb file (adding a require ''enu...
2000 Aug 16
7
Parallelism
Greetings. In looking through the mail archives, I don't see any mention of parallelism of the vorbis code (particularly the encoder). I was wondering if anyone was looking into this at all? Either with threads, and/or on some kind of parallel machine (e.g., a Beowulf cluster)? I see very little mention of threads in the source code, which leads me to believe that they are only there for