This kind of wrapper should better not be able to call private methods

This commit is contained in:
Akira Matsuda 2020-10-07 06:00:44 +09:00
parent a412e4da64
commit 0bfa02aba3
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ module Rails
end
def run(action)
generator.send(action)
generator.public_send(action)
end
end
end