My implementation of helpers in Rails