IMO Spring boot is definitely more productive than Rails; it's basically all the nice things about Rails except more mature and more comprehensive. The JVM is also much more performant than Ruby and Kotlin/Java is a better language in terms of long term maintenance (a proper type system).