how to write turnry operator in ruby on rails code example Example: ruby ternary operator condition ? true : false