用 Page Cache 增加了 app/sweepers/user_sweeper.rb 配置 environment.rb Substation::Application.initialize!
Rails::Initializer.run do |config| config.load_paths += %w(#{RAILS_ROOT}/app/sweepers) end
重起的是后报错
/home/s f/rubyonrails/substation/config/environment.rb:7:in `': uninitialized constant Rails::Initializer (NameError)