Displaying 2 results from an estimated 2 matches for "control_rating".
2006 Feb 28
2
Escaping Arithmetic Symbols
Could someone please tell me how to escape the ''division'' arithmetic
symbol in a model or controller? I''ve searched around and cannot find a
solution.
I''ve got the following in my model:
def avg_risk
t = 0
self.audits.each{|key| t = t + key.control_rating }
t = t / self.audits.count #this line doesn''t work... I''ve even tried \/
return t
end
Any help would be appreciated.
--
Posted with http://DevLists.com. Sign up and save your time!
2007 Apr 30
0
[PATCH] Handle ISO_Level3_Shift keysym as AltGr in ioemu/vncfb
Hello,
The modern (xkb) way of mapping the AltGr key (113) seems to be using the
ISO_Level3_Shift keysym (0xFE03) instead of the obsolete Mode_switch keysym
(0xFF7E).
This patch let the "keysym to scancode" translator handle the
ISO_Level3_Shift correctly, enabling the use of characters like ~#{[|`\^@]}
on a french keyboard.
Regards,
Cédric
diff -ur