Ruby basic helpers