ternary operator in rails controller code example Example: ruby ternary operator condition ? true : false