updated rails skeleton