Fix automatic reloading of options in Rails 4.