Fixing problem with railty constant usage.