fix create/update for tableless on rails4