You are not wrong if it just you or very small team. Because this new movement with npm and built tools. Things can get messy.
If you want to deploy 1 app. Develop in 2 folder(front end and rails backend). Built front-end js file and paste the asset in rails/public folder.