PROF: Removed rails dependency