rails/welcome_controller: fix type

Thanks-to: @ConradIrwin