The problem is when school is not nil. It is not a string, so you can't add it to "foo". Here are some options to fix it: foo" + (school || "bar").
To_s "foo" + (school? School. To_s : "bar") "foo" + (school.
Try(:to_s) || "bar") "foo#{school || 'bar'}.
The problem is when school is not nil. It is not a string, so you can't add it to "foo". Here are some options to fix it: "foo" + (school || "bar").
To_s "foo" + (school? School. To_s : "bar") "foo" + (school.
Try(:to_s) || "bar") "foo#{school || 'bar'}.
Gives same error. – marienbad Jun 4 '10 at 19:26.
I want to output one of those select fields for the user to select their timezone. My User model saves the timezone as an integer in seconds. But I can change that if it's not practical.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.