removed rails dependency