Removed rails dependency