Walter Davis wrote in post #1183825: >>>> var hour = [ >> i missed this. >> >> > > You may be getting tripped up by the fact that raw() is a view helper > method, and you are using it within your block as a local variable. Try > a different word, and see if that makes any difference. > > Walter
Thanks for your input! Unfortunately it didnt solve my problem, but I finally figured it out: I had a newline character appended to my status variable, so raw.status could never equal "aufgewacht". It does, though, with raw.status.chomp! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e15237d929033d7cbc07378050381d40%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

