Had to remove the turbolinks gem because it caused problems with the dropdown menus of the date. Using PJAX is recommended if using Rails, since turbolinks gives a lot of problems