updated rails to patch vulnerability
minor tweeks to fix unfinished changes