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.

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

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
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 5 | next ›
Discussion Overview
grouprubyonrails-talk @
postedJun 5, '16 at 10:14p
activeJun 6, '16 at 2:57p



site design / logo © 2021 Grokbase