From: Brian Candler Date: 2009-07-31T21:45:04+09:00 Subject: Re: `+': Range can't be coerced into Fixnum (TypeError) P.S. It's not normal ruby practice to return 0 or 1 for boolean conditions. You should return false (or nil), and true (or any value other than nil or false) Then you can say: if check rather than if check == 1 Regards, Brian. -- Posted via http://www.ruby-forum.com/.