Commited the rails portion