How to write a ruby on rails turny operator code example Example: ruby ternary operator condition ? true : false