Just to be clear, you want me to do this as I did above? That makes sense, I think I missed it because there's no analogous before_filter method. I can just make it and use the same ternary operation as above if you think that would be right.