Removed rails dependency.