Fix when syntax in node_object
Fix unexpected return in application controller
Fix breakage due to change of hash.select API between ruby 1.8 and 1.9
Use more concise syntax for converting hash to array of [key,val] pairs
Merge pull request #811 from bkutil/ruby19-syntax-fix

Ruby 1.9 compatibility fixes