try writing to parent of rails root