I use .net core by day and rails by night (side business) and I can honestly say .net core MVC is kind of influenced by rails (not a lot but like 30%). After more than a year using both I found more joy with rails.
I find Rails gems and ecosystem to be more mature also ORM is friendlier since I felt more comfortable using active model than EF
All of the above could be a personal preference since I worked on rails for a longer time. At the end of the day I got to an end product with both
However I use .net core with MSSQL and on a Windows machine.