Fixed Calendar Rails error