Revert "Make ApplicationController patch reloadable"

This partly reverts commit 7443016f4d0cf95526e921a25e81b6b2c7fe45a6.

I reverted the change made to remove ```config.to_prepare```. it fixes #678