Done: Better security attempt - looks like it also includes better performance attempt branch...

Use the new Ruby 1.9 hash syntax.<br>Use 2 (not 3) spaces for indentation.<br>Prefer single-quoted strings when you don't need string interpolation or special symbols.