mostly working rails version