I think that way of inserting code in an .erb file is not a good pattern. :)