This line fails for me because I don't have "Support" in my database. I think we should cater for that; could you add a conditional for the code from this point on - eg ``if support.present? ...``.