Update plugin_generator.rb
#30004

npenzin wants to merge npenzin:patch-1 into rails:master

We do not currently have an analysis of these two commits